summaryrefslogtreecommitdiffstats
path: root/src/core/aspects/qaspectengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/aspects/qaspectengine.cpp')
-rw-r--r--src/core/aspects/qaspectengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/aspects/qaspectengine.cpp b/src/core/aspects/qaspectengine.cpp
index df352c38d..6d3fd7566 100644
--- a/src/core/aspects/qaspectengine.cpp
+++ b/src/core/aspects/qaspectengine.cpp
@@ -284,7 +284,8 @@ void QAspectEnginePrivate::shutdown()
void QAspectEnginePrivate::exitSimulationLoop()
{
- m_aspectManager->exitSimulationLoop();
+ if (m_aspectManager != nullptr)
+ m_aspectManager->exitSimulationLoop();
}
/*!