diff --git a/tests/state_test_util.go b/tests/state_test_util.go index 8027e9a06c..56ddf61b69 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -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 } }