Commit 5cedb0ef authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix crash on unloading Qt4 projects



Change-Id: I6e05026e87ba1cf8a8e9d40fac7dd33c82f5a3ff
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 1776cee6
......@@ -1478,7 +1478,7 @@ Qt4ProFileNode::~Qt4ProFileNode()
m_parseFutureWatcher.waitForFinished();
if (m_readerExact) {
// Oh we need to clean up
applyEvaluate(EvalFail, true);
applyEvaluate(EvalAbort, true);
m_project->decrementPendingEvaluateFutures();
}
}
......
......@@ -382,7 +382,7 @@ private slots:
private:
void setupReader();
enum EvalResult { EvalFail, EvalPartial, EvalOk };
enum EvalResult { EvalAbort, EvalFail, EvalPartial, EvalOk };
EvalResult evaluate();
void applyEvaluate(EvalResult parseResult, bool async);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment