mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-04-27 17:16:31 +00:00
Wait for world to shutdown (#624)
We need to wait for the message that the world has shutdown before shutting it down.
This commit is contained in:
parent
485de6173a
commit
66edf57b02
@ -303,7 +303,6 @@ int main(int argc, char** argv) {
|
|||||||
|
|
||||||
if (affirmTimeout == 1000) {
|
if (affirmTimeout == 1000) {
|
||||||
instance->Shutdown();
|
instance->Shutdown();
|
||||||
instance->SetShutdownComplete(true);
|
|
||||||
|
|
||||||
Game::im->RedirectPendingRequests(instance);
|
Game::im->RedirectPendingRequests(instance);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user