mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
Merge pull request #3398 from nspcc-dev/enforce-testws-close
This commit is contained in:
commit
927dbb6dc4
1 changed files with 1 additions and 1 deletions
|
@ -100,8 +100,8 @@ func initCleanServerAndWSClient(t *testing.T, startNetworkServer ...bool) (*core
|
|||
}
|
||||
}
|
||||
close(readerStopCh)
|
||||
<-readerToExitCh
|
||||
ws.Close()
|
||||
<-readerToExitCh
|
||||
if len(startNetworkServer) != 0 && startNetworkServer[0] {
|
||||
rpcSrv.coreServer.Shutdown()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue