Stop osg viewer threading before destructing engine

To avoid rendering while engine parts are destructing.
pull/593/head
elsid 4 years ago
parent f27d7c66ff
commit 375372981c
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -970,6 +970,8 @@ void OMW::Engine::go()
// Save user settings
settings.saveUser(settingspath);
mViewer->stopThreading();
Log(Debug::Info) << "Quitting peacefully.";
}

Loading…
Cancel
Save