forked from qt-creator/qt-creator
QmlProfiler: Factor out logic to run apps from the engine into a separate runner
Reviewed-by: Christiaan Janssen
This commit is contained in:
@@ -314,8 +314,10 @@ void QmlProfilerTool::disconnectClient()
|
||||
{
|
||||
// this might be actually be called indirectly by QDDConnectionPrivate::readyRead(), therefore allow
|
||||
// method to complete before deleting object
|
||||
d->m_client->deleteLater();
|
||||
d->m_client = 0;
|
||||
if (d->m_client) {
|
||||
d->m_client->deleteLater();
|
||||
d->m_client = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void QmlProfilerTool::startRecording()
|
||||
|
Reference in New Issue
Block a user