forked from qt-creator/qt-creator
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:
@@ -594,7 +594,7 @@ void RunControlPrivate::startPortsGathererIfNeededAndContinueStart()
|
||||
return;
|
||||
}
|
||||
|
||||
QTC_ASSERT(device, continueStart(); return);
|
||||
QTC_ASSERT(device, initiateStop(); return);
|
||||
|
||||
const Storage<PortsOutputData> portsStorage;
|
||||
|
||||
|
Reference in New Issue
Block a user