mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
Merge pull request #9497 from Icinga/9249
Application::Exit(): don't exit(), but _exit(), even in debug build mode
This commit is contained in:
commit
66b039df9c
1 changed files with 0 additions and 4 deletions
|
|
@ -112,11 +112,7 @@ void Application::Exit(int rc)
|
|||
}
|
||||
|
||||
UninitializeBase();
|
||||
#ifdef I2_DEBUG
|
||||
exit(rc);
|
||||
#else /* I2_DEBUG */
|
||||
_exit(rc); // Yay, our static destructors are pretty much beyond repair at this point.
|
||||
#endif /* I2_DEBUG */
|
||||
}
|
||||
|
||||
void Application::InitializeBase()
|
||||
|
|
|
|||
Loading…
Reference in a new issue