mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 06:16:04 +00:00
Update changelog, use std::exit instead of exit
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user