mirror of https://github.com/AxioDL/logvisor.git
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…
Reference in New Issue