Skip to content
Snippets Groups Projects
Commit e4494288 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlProfiler: Exit if we get an error message


E.g. when we detect that the port is in use, we have to stop the
noDebugOutputTimer.

Change-Id: Idb3f4b91f78c55ab849e55c908e58abf052c3d00
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent fdbdf2d1
No related branches found
No related tags found
No related merge requests found
......@@ -275,6 +275,7 @@ void QmlProfilerEngine::finishProcess()
if (d->m_running) {
d->m_running = false;
d->m_runningTimer.stop();
d->m_noDebugOutputTimer.stop();
if (d->m_runner)
d->m_runner->stop();
emit finished();
......@@ -305,11 +306,7 @@ void QmlProfilerEngine::wrongSetupMessageBox(const QString &errorMessage)
infoBox->show();
d->m_running = false;
d->m_runningTimer.stop();
AnalyzerManager::stopTool();
emit finished();
emit recordingChanged(d->m_fetchDataFromStart);
finishProcess();
}
void QmlProfilerEngine::wrongSetupMessageBoxFinished(int button)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment