commit | 2246307c4e9ace3967d5165f2268ce754581d21d | [log] [tgz] |
---|---|---|
author | Matt Rosencrantz <mattr@google.com> | Thu Aug 13 20:41:59 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Aug 13 20:41:59 2015 +0000 |
tree | 0154b08653d0ab5aed65bf4dda6d3b848694d221 | |
parent | 4578589800c55b2bff59194883b7ca89a3f5e3d0 [diff] | |
parent | 99d8a2eb8d93aff74ef9c348686d8cdfaab43ed6 [diff] |
Merge "ref/runtime/internal/stream/manager: Prevent lingering goroutine."
diff --git a/runtime/internal/rpc/stream/manager/error_test.go b/runtime/internal/rpc/stream/manager/error_test.go index fe6f76d..1b72577 100644 --- a/runtime/internal/rpc/stream/manager/error_test.go +++ b/runtime/internal/rpc/stream/manager/error_test.go
@@ -131,6 +131,7 @@ if err != nil { t.Fatal(err) } + defer ln.Close() // Server will just listen for flows and close them. go acceptLoop(ln)