Commit 2c6be25d authored by Ulf Hermann's avatar Ulf Hermann

RemoteLinux: Use stop dependencies for QML profiling

Change-Id: I8a4f531928f46c6866c798d79476fdd37875326c
Reviewed-by: default avatarhjk <hjk@qt.io>
parent c392d3ee
...@@ -60,8 +60,13 @@ RemoteLinuxQmlProfilerSupport::RemoteLinuxQmlProfilerSupport(RunControl *runCont ...@@ -60,8 +60,13 @@ RemoteLinuxQmlProfilerSupport::RemoteLinuxQmlProfilerSupport(RunControl *runCont
m_portsGatherer = new PortsGatherer(runControl); m_portsGatherer = new PortsGatherer(runControl);
addStartDependency(m_portsGatherer); addStartDependency(m_portsGatherer);
// The ports gatherer can safely be stopped once the process is running, even though it has to
// be started before.
addStopDependency(m_portsGatherer);
m_profiler = runControl->createWorker(runControl->runMode()); m_profiler = runControl->createWorker(runControl->runMode());
m_profiler->addStartDependency(this); m_profiler->addStartDependency(this);
addStopDependency(m_profiler);
} }
void RemoteLinuxQmlProfilerSupport::start() void RemoteLinuxQmlProfilerSupport::start()
......
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