Skip to content

Commit

Permalink
Fix crash on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKepzie committed Oct 11, 2016
1 parent 11e2967 commit 2dcadb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Engine/AppInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2230,6 +2230,9 @@ AppInstance::removeInvalidExpressionKnob(const KnobI* knob)
void
AppInstance::recheckInvalidExpressions()
{
if (getProject()->isProjectClosing()) {
return;
}
std::list<KnobPtr> knobs;
{
QMutexLocker k(&_imp->invalidExprKnobsMutex);
Expand Down

0 comments on commit 2dcadb2

Please sign in to comment.