mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 20:23:54 +00:00
Stop osg viewer threading before destructing engine
To avoid rendering while engine parts are destructing.
This commit is contained in:
parent
f27d7c66ff
commit
375372981c
1 changed files with 2 additions and 0 deletions
|
@ -970,6 +970,8 @@ void OMW::Engine::go()
|
||||||
// Save user settings
|
// Save user settings
|
||||||
settings.saveUser(settingspath);
|
settings.saveUser(settingspath);
|
||||||
|
|
||||||
|
mViewer->stopThreading();
|
||||||
|
|
||||||
Log(Debug::Info) << "Quitting peacefully.";
|
Log(Debug::Info) << "Quitting peacefully.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue