mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Fix crash on exit if the window wasn't created (Fixes #2249)
This commit is contained in:
parent
bc686c93b5
commit
de12c96a46
@ -208,6 +208,7 @@ OMW::Engine::Engine(Files::ConfigurationManager& configurationManager)
|
||||
|
||||
OMW::Engine::~Engine()
|
||||
{
|
||||
if (mOgre)
|
||||
mOgre->restoreWindowGammaRamp();
|
||||
mEnvironment.cleanup();
|
||||
delete mScriptContext;
|
||||
|
Loading…
x
Reference in New Issue
Block a user