Skip to content

fix(blockstm): remove double-unlock on panic path in Resume()#26355

Open
songgaoye wants to merge 2 commits intocosmos:mainfrom
songgaoye:song/fix_double_unlock
Open

fix(blockstm): remove double-unlock on panic path in Resume()#26355
songgaoye wants to merge 2 commits intocosmos:mainfrom
songgaoye:song/fix_double_unlock

Conversation

@songgaoye
Copy link
Copy Markdown
Contributor

@songgaoye songgaoye commented Apr 28, 2026

Description

remove dead duplicate checks that called s.Unlock() before panic
while defer s.Unlock() was already set, causing double-unlock
Closes: #XXXX

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 28, 2026

PR author is not in the allowed authors list.

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.

1 participant