mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
tests: call Disable only once
This commit is contained in:
parent
d91f53c9eb
commit
c99a61c5fe
1 changed files with 1 additions and 0 deletions
|
|
@ -489,5 +489,6 @@ func (st *StateTestState) Close() {
|
|||
// Need to call Disable here to quit the snapshot generator goroutine.
|
||||
st.Snapshots.Disable()
|
||||
st.Snapshots.Release()
|
||||
st.Snapshots = nil
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue