From 0fac716274e95fe83f86c030a61fba9542ea0b45 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 2 Nov 2018 16:22:41 +0700 Subject: [PATCH] fix go routine leak in crypto setup test --- internal/handshake/crypto_setup_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/handshake/crypto_setup_test.go b/internal/handshake/crypto_setup_test.go index 741a04794..a2cf5649b 100644 --- a/internal/handshake/crypto_setup_test.go +++ b/internal/handshake/crypto_setup_test.go @@ -177,6 +177,7 @@ var _ = Describe("Crypto Setup TLS", func() { case c := <-sChunkChan: client.HandleMessage(c.data, c.encLevel) case <-done: // handshake complete + return } } }()