diff options
author | Pierre de La Morinerie <kemenaran@gmail.com> | 2018-02-14 23:48:06 +0530 |
---|---|---|
committer | Chris <ccbrown112@gmail.com> | 2018-02-14 12:18:06 -0600 |
commit | 44a27125de1b4658f1149f5bc459468a056b4d7d (patch) | |
tree | 4ddd20763c3a551b25ffcebf104c960bddd66083 /vendor/golang.org/x/crypto/ssh | |
parent | cafa4e4370c4d8bfa1cdbfbf8b74387b4fbee257 (diff) | |
download | chat-44a27125de1b4658f1149f5bc459468a056b4d7d.tar.gz chat-44a27125de1b4658f1149f5bc459468a056b4d7d.tar.bz2 chat-44a27125de1b4658f1149f5bc459468a056b4d7d.zip |
Wait for goroutines to finish before shuting down server (#8259)
When running server tests, the server will exit while some jobs spawned
through a goroutine are still running. This may crash the test harness,
as the jobs try to access a shut down app instance.
Fortunately the fix is easy: we just have to use the same App
goroutine-counting facility than the rest of the method's goroutines.
Diffstat (limited to 'vendor/golang.org/x/crypto/ssh')
0 files changed, 0 insertions, 0 deletions