From 2dcadb22cc52867c55288eecf35f05d9ba757fe6 Mon Sep 17 00:00:00 2001 From: MrKepzie Date: Tue, 11 Oct 2016 23:19:40 +0200 Subject: [PATCH] Fix crash on exit --- Engine/AppInstance.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Engine/AppInstance.cpp b/Engine/AppInstance.cpp index a9ba670394..bc8c6297db 100644 --- a/Engine/AppInstance.cpp +++ b/Engine/AppInstance.cpp @@ -2230,6 +2230,9 @@ AppInstance::removeInvalidExpressionKnob(const KnobI* knob) void AppInstance::recheckInvalidExpressions() { + if (getProject()->isProjectClosing()) { + return; + } std::list knobs; { QMutexLocker k(&_imp->invalidExprKnobsMutex);