1
0
Fork 0
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:
elsid 2021-05-21 23:15:14 +02:00
parent f27d7c66ff
commit 375372981c
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40

View file

@ -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.";
} }