Skip to content

Commit

Permalink
Updating windows signal handling to not terminate the application bef…
Browse files Browse the repository at this point in the history
…ore cleanup.
  • Loading branch information
simplerobot committed Jan 2, 2023
1 parent c7bcb52 commit 54e4bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/st-trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static void abort_trace() { g_abort_trace = true; }
BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) {
(void)fdwCtrlType;
abort_trace();
return FALSE;
return TRUE;
}
#endif

Expand Down

0 comments on commit 54e4bc5

Please sign in to comment.