- 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:
parent
b6156ac490
commit
4505bfa4b8
2 changed files with 19 additions and 5 deletions
|
|
@ -3716,6 +3716,10 @@ int GameMain()
|
|||
DeleteStartupScreen();
|
||||
delete Args;
|
||||
Args = nullptr;
|
||||
#ifdef _WIN32
|
||||
void CheckForRestart();
|
||||
CheckForRestart();
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue