core: fix blockchain goroutine leaks in tests
This commit is contained in:
@ -300,6 +300,7 @@ func benchReadChain(b *testing.B, full bool, count uint64) {
|
||||
}
|
||||
}
|
||||
|
||||
chain.Stop()
|
||||
db.Close()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user