Skip to content

Commit

Permalink
stacktrace: Use thread-safe full_deinit() && _Exit()
Browse files Browse the repository at this point in the history
  • Loading branch information
LekKit committed Oct 8, 2024
1 parent 1fb5df9 commit 82dacf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stacktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ static void signal_handler(int sig)
rvvm_warn("Stacktrace:");
stacktrace_print();
}
exit(-sig);
full_deinit();
_Exit(-sig);
}

static void set_signal_handler(int sig)
Expand Down

0 comments on commit 82dacf3

Please sign in to comment.