summaryrefslogtreecommitdiffstats
path: root/src/core/aspects/qaspectthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/aspects/qaspectthread.cpp')
-rw-r--r--src/core/aspects/qaspectthread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/aspects/qaspectthread.cpp b/src/core/aspects/qaspectthread.cpp
index e0f948923..0b1a969d3 100644
--- a/src/core/aspects/qaspectthread.cpp
+++ b/src/core/aspects/qaspectthread.cpp
@@ -80,6 +80,8 @@ void QAspectThread::run()
// Clean up
m_aspectManager->shutdown();
+
+ // Delete the aspect manager while we're still in the thread
delete m_aspectManager;
qCDebug(Aspects) << "Exiting void QAspectThread::run()";