fix go routine leak in crypto setup test

This commit is contained in:
Marten Seemann
2018-11-02 16:22:41 +07:00
parent 257c4732c3
commit 0fac716274

View File

@@ -177,6 +177,7 @@ var _ = Describe("Crypto Setup TLS", func() {
case c := <-sChunkChan:
client.HandleMessage(c.data, c.encLevel)
case <-done: // handshake complete
return
}
}
}()