aboutsummaryrefslogtreecommitdiff
path: root/logic/profiler/BaseProfiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/profiler/BaseProfiler.cpp')
-rw-r--r--logic/profiler/BaseProfiler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/logic/profiler/BaseProfiler.cpp b/logic/profiler/BaseProfiler.cpp
index 1a377818..b58e88be 100644
--- a/logic/profiler/BaseProfiler.cpp
+++ b/logic/profiler/BaseProfiler.cpp
@@ -21,7 +21,7 @@ void BaseProfiler::beginProfiling(MinecraftProcess *process)
void BaseProfiler::abortProfiling()
{
- abortProfiling();
+ abortProfilingImpl();
}
void BaseProfiler::abortProfilingImpl()
@@ -32,6 +32,8 @@ void BaseProfiler::abortProfilingImpl()
}
m_profilerProcess->terminate();
m_profilerProcess->deleteLater();
+ m_profilerProcess = 0;
+ emit abortLaunch(tr("Profiler aborted"));
}
qint64 BaseProfiler::pid(QProcess *process)