forked from TrueCloudLab/neoneo-go
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