Skip to content

Commit 46b5fdf

Browse files
committed
Re-add missing restore from eh_restore_state
1 parent 09400e4 commit 46b5fdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rtutils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ JL_DLLEXPORT void jl_eh_restore_state(jl_task_t *ct, jl_handler_t *eh)
297297

298298
JL_DLLEXPORT void jl_eh_restore_state_noexcept(jl_task_t *ct, jl_handler_t *eh)
299299
{
300+
ct->gcstack = eh->gcstack;
300301
ct->eh = eh->prev;
301302
ct->ptls->defer_signal = eh->defer_signal; // optional, but certain try-finally (in stream.jl) may be slightly harder to write without this
302303
}

0 commit comments

Comments
 (0)