Update changelog, use std::exit instead of exit

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-11 11:38:06 +03:00
1 parent 30624c77a2
commit a2f92b5791
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ void Application::GracefullyShutdown() {
// hard shutdown at 2 additional tries
if (ShutdownAttempts == 2) {
info("hard shutdown forced by multiple shutdown requests");
exit(0);
std::exit(0);
}
info("already shutting down!");
return;