mirror of https://github.com/AxioDL/logvisor.git
Use exit(1) instead of abort() for win32 release builds
This commit is contained in:
parent
b89d18c471
commit
bb0535f3a9
|
@ -168,8 +168,12 @@ void logvisorAbort()
|
|||
|
||||
// If you caught one of the above signals, it is likely you just
|
||||
// want to quit your program right now.
|
||||
#ifndef NDEBUG
|
||||
signal(SIGABRT, SIG_DFL);
|
||||
abort();
|
||||
#else
|
||||
exit(1);
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
|
||||
|
|
Loading…
Reference in New Issue