Skip to content

Conversation

@cjamhub
Copy link

@cjamhub cjamhub commented Nov 20, 2025

Fixes #33233

Fixes a goroutine leak in core/state/snapshot/generate_test.go where generator goroutines could remain blocked if tests failed before cleanup executed.

Uses defer to guarantee cleanup always runs, even on test failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A potential goroutine leak in core/state/snapshot/generate.go

1 participant