mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-06-06 14:43:30 +00:00
use exit(1) rather than abort() for release builds
This commit is contained in:
parent
f28fa0dbb2
commit
b89d18c471
@ -243,8 +243,13 @@ void logvisorAbort()
|
||||
fflush(stderr);
|
||||
fflush(stdout);
|
||||
KillProcessTree();
|
||||
|
||||
#ifndef NDEBUG
|
||||
signal(SIGABRT, SIG_DFL);
|
||||
abort();
|
||||
#else
|
||||
exit(1);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user