mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 18:15:32 +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
|
||||
settings.saveUser(settingspath);
|
||||
|
||||
mViewer->stopThreading();
|
||||
|
||||
Log(Debug::Info) << "Quitting peacefully.";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue