mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-05-15 20:01:26 +00:00
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…
x
Reference in New Issue
Block a user