[Windows] Pressing Alt+F4 during engine startup causes Dday to crash
Pretty much what the subject states.
If one presses Alt+F4 during gameplay, the game's quit dialog comes up (I assume deliberate)
If Alt+F4 is pressed during Map loading, the games quit dialog comes up upon map loading completing.
If one presses Alt+F4 on Ring Zero, Dday immediately closes with no confirmation (is a confirmation possible in this case?).
But if one presses Alt+F4 during engine start up, Dday freezes and crashes a few seconds later.
Fixed|Client|Windows: Potential crash if closing window during startup
When game resources are being located, games become current for short
periods of time (kludge in Games::locateStartupResources()). If a
"quit" command happened to be executed at this time, a crash could
occur in the console command execution, presumably if the game suddenly
was removed in another thread.
As a workaround, closing the window is disallowed during busy mode.