Build: 119060

Description: when finishing the game (150 turns) and exiting the game will take very long to unload from RAM and cause an "The application does not responding" from Windows 10, even on a very powerful system. 


Steps to Reproduce: 1. Playthrough Lucy Dev  // 2. Quit the game to menu / desktop

The message will not happen if 

You load a savegame and directly quit the game to desktop without playing for a long while.


Reproducibility: 5/5

Expected Behavior: The application does not respond is based on a Windows setting so devs will not be able to alter this without changing it for everything. 

I would rather check the code when exiting the game to desktop that the game does give some breaks to respond to the Windows Task scheduler.

Please try to optimize your code. 


Notes: - 
Attachments: dxdiag.txt