mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02: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
@ -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…
x
Reference in New Issue
Block a user