diff options
Diffstat (limited to 'static_pool_test.go')
-rw-r--r-- | static_pool_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static_pool_test.go b/static_pool_test.go index ec468389..548fb126 100644 --- a/static_pool_test.go +++ b/static_pool_test.go @@ -186,7 +186,7 @@ func Test_StaticPool_Broken_FromOutside(t *testing.T) { destructed := make(chan interface{}) p.Listen(func(e int, ctx interface{}) { if e == EventWorkerConstruct { - close(destructed) + destructed <- nil } }) |