Check for selfinclusion of assets (closes #1032)

Make sure that OpenSpace doesn't crash when bailing out early
This commit is contained in:
Alexander Bock
2020-02-11 14:09:14 +01:00
parent 9a714524ce
commit 126f2ac4cf
4 changed files with 36 additions and 16 deletions

View File

@@ -925,6 +925,8 @@ void OpenSpaceEngine::deinitializeGL() {
func();
}
_loadingScreen = nullptr;
global::deinitializeGL();
rendering::helper::deinitialize();