tests: call Disable only once

This commit is contained in:
Felix Lange 2024-02-13 21:14:14 +01:00
parent d91f53c9eb
commit c99a61c5fe

View file

@ -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
}
}