Skip to content

Add a re-entrancy guard to exitRuntime()#26838

Merged
juj merged 1 commit into
emscripten-core:mainfrom
juj:exitruntime_reentrancy_guard
May 2, 2026
Merged

Add a re-entrancy guard to exitRuntime()#26838
juj merged 1 commit into
emscripten-core:mainfrom
juj:exitruntime_reentrancy_guard

Conversation

@juj
Copy link
Copy Markdown
Collaborator

@juj juj commented May 1, 2026

Add a re-entrancy guard to exitRuntime(), since such re-entrancy is seen to happen if an atexit() handler throws a JS exception (e.g. RuntimeError: index out of bounds)

Separated out from #26835.

…een to happen if an atexit() handler throws a JS exception (e.g. RuntimeError: index out of bounds)
@juj juj enabled auto-merge (squash) May 1, 2026 20:30
@juj juj disabled auto-merge May 2, 2026 07:12
@juj juj merged commit 1d7aa91 into emscripten-core:main May 2, 2026
30 checks passed
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