Commit 32db72d8 authored by Josh Faust's avatar Josh Faust Committed by The Qt Project
Browse files

Fix crash in QQmlApplicationEngine when loading finishes


Task-number: QTBUG-30997

Change-Id: I10cb2c689408d1b31360095c2aa9e0943a5d9452
Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
parent e12ebce5
No related merge requests found
Showing with 2 additions and 1 deletion
......@@ -133,7 +133,8 @@ void QQmlApplicationEnginePrivate::_q_finishLoad(QObject *o)
case QQmlComponent::Null:
return; //These cases just wait for the next status update
}
delete c;
c->deleteLater();
}
/*!
......
Supports Markdown
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