- delay the restart action from the error pane until after everything has been shut down.

This cannot be done from a place where the old instance still can write to the config file, which happens only in the shutdown process.
This commit is contained in:
Christoph Oelckers 2021-08-10 22:09:32 +02:00
commit 4505bfa4b8
2 changed files with 19 additions and 5 deletions

View file

@ -3716,6 +3716,10 @@ int GameMain()
DeleteStartupScreen();
delete Args;
Args = nullptr;
#ifdef _WIN32
void CheckForRestart();
CheckForRestart();
#endif
return ret;
}