Skip to content

Commit b325ec6

Browse files
authored
Fix mutex unlock during signal handling. (#43381)
1 parent dfe443a commit b325ec6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/signals-unix.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -817,10 +817,10 @@ static void *signal_listener(void *arg)
817817
bt_data_prof[bt_size_cur++].uintptr = 0;
818818
bt_data_prof[bt_size_cur++].uintptr = 0;
819819
}
820-
821-
// notify thread to resume
822-
jl_thread_resume(i, sig);
823820
}
821+
822+
// notify thread to resume
823+
jl_thread_resume(i, sig);
824824
}
825825
jl_unlock_profile();
826826
}

0 commit comments

Comments
 (0)