From c99a61c5fe9202a361ce75a0079adb2b82ee72fa Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 13 Feb 2024 21:14:14 +0100 Subject: [PATCH] tests: call Disable only once --- tests/state_test_util.go | 1 + 1 file changed, 1 insertion(+) 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 } }