RunControl: Don't continue to run when the device is missing

In case when ports gatherer is used.
This fixes the crash in QmlProfilerToolTest".

Amends cf8d108773

Change-Id: I94a9124a4004d0b6fa7143f7339d8232a0c88467
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2025-03-14 14:23:32 +01:00
parent ecf741310a
commit 8aafdf86e0

View File

@@ -594,7 +594,7 @@ void RunControlPrivate::startPortsGathererIfNeededAndContinueStart()
return;
}
QTC_ASSERT(device, continueStart(); return);
QTC_ASSERT(device, initiateStop(); return);
const Storage<PortsOutputData> portsStorage;