mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-24 13:09:22 -06:00
Fix crash that occurs if there is an error in the SGCT configuration file
This commit is contained in:
@@ -175,11 +175,6 @@ OpenSpaceEngine::OpenSpaceEngine(std::string programName,
|
||||
}
|
||||
|
||||
OpenSpaceEngine::~OpenSpaceEngine() {
|
||||
LINFO("_windowWrapper->isUsingSwapGroups(): " << _windowWrapper->isUsingSwapGroups());
|
||||
LINFO("_windowWrapper->isSwapGroupMaster(): " << _windowWrapper->isSwapGroupMaster());
|
||||
_interactionHandler->deinitialize();
|
||||
_renderEngine->deinitialize();
|
||||
|
||||
_globalPropertyNamespace = nullptr;
|
||||
_windowWrapper = nullptr;
|
||||
_parallelConnection = nullptr;
|
||||
@@ -529,6 +524,10 @@ bool OpenSpaceEngine::initialize() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void OpenSpaceEngine::deinitialize() {
|
||||
_interactionHandler->deinitialize();
|
||||
_renderEngine->deinitialize();
|
||||
}
|
||||
|
||||
void OpenSpaceEngine::writeDocumentation() {
|
||||
// If a LuaDocumentationFile was specified, generate it now
|
||||
|
||||
Reference in New Issue
Block a user