Skip to content

Commit 2a2c495

Browse files
committed
oops: need to re-enable it in jl_exit_thread0_cb
1 parent 2e2d508 commit 2a2c495

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/signals-unix.c

+1
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ static int thread0_exit_signo = 0;
559559
static void JL_NORETURN jl_exit_thread0_cb(void)
560560
{
561561
CFI_NORETURN
562+
jl_atomic_fetch_add(&jl_gc_disable_counter, -1);
562563
jl_critical_error(thread0_exit_signo, 0, NULL, jl_current_task);
563564
jl_atexit_hook(128);
564565
jl_raise(thread0_exit_signo);

0 commit comments

Comments
 (0)