No, the problem isn't running in a window. Running in a window the game opens fast and exits fast.
It's only when toggling from windowed to fullscreen, or from fullscreen to windowed, or starting in fullscreen and exiting from there, that the game hangs up for a bit.
Though I haven't tried minimizing/tabbing out of the game from fullscreen to see what happens there. Guess that's an area I could explore.
Unlikely, because the delay doesn't just happen when switching to fullscreen. It also happens when toggling from fullscreen to windowed mode and when exiting.
[edit]
Alt-tabbing out of the app is fast. Don't know yet if minimizing from within the app is. Also, alt-tabbing out, then returning to fullscreen does not get rid of the delay when ending the program.
It's only when toggling from windowed to fullscreen, or from fullscreen to windowed, or starting in fullscreen and exiting from there, that the game hangs up for a bit.
Though I haven't tried minimizing/tabbing out of the game from fullscreen to see what happens there. Guess that's an area I could explore.
Just a thought but could there be any connection to the polled input mode hich is started with the Graphics?
Unlikely, because the delay doesn't just happen when switching to fullscreen. It also happens when toggling from fullscreen to windowed mode and when exiting.
[edit]
Alt-tabbing out of the app is fast. Don't know yet if minimizing from within the app is. Also, alt-tabbing out, then returning to fullscreen does not get rid of the delay when ending the program.