mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2025-07-03 04:35:24 +00:00
add message to shutdown suggesting Ctrl+C if it takes too long
This is an ongoing issue that needs to be resolved properly, but I'm not sure what's hanging it.
This commit is contained in:
parent
f4eb492d91
commit
34b39aad4d
@ -126,6 +126,7 @@ int BeamMPServerMain(MainArguments Arguments) {
|
||||
|
||||
bool Shutdown = false;
|
||||
Application::RegisterShutdownHandler([&Shutdown] {
|
||||
beammp_info("If this takes too long, you can press Ctrl+C repeatedly to force a shutdown.");
|
||||
Application::SetSubsystemStatus("Main", Application::Status::ShuttingDown);
|
||||
Shutdown = true;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user