From 2b50367fe938e603a5f9d3a525e0cdfa000f402e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Mon, 7 Aug 2017 15:47:25 +0300 Subject: core: fix blockchain goroutine leaks in tests --- core/bench_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'core/bench_test.go') diff --git a/core/bench_test.go b/core/bench_test.go index 20676fc97..b9250f7d3 100644 --- a/core/bench_test.go +++ b/core/bench_test.go @@ -300,6 +300,7 @@ func benchReadChain(b *testing.B, full bool, count uint64) { } } + chain.Stop() db.Close() } } -- cgit v1.2.3