forked from qt-creator/qt-creator
RunControl: Add assert when device is nullptr
Amends cf8d108773
Change-Id: Ic9d947fb038e3e063cb7c2a6c740829252bf4cc7
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -596,6 +596,8 @@ void RunControlPrivate::startPortsGathererIfNeededAndContinueStart()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QTC_ASSERT(device, continueStart(); return);
|
||||||
|
|
||||||
const Storage<PortsOutputData> portsStorage;
|
const Storage<PortsOutputData> portsStorage;
|
||||||
|
|
||||||
const auto onDone = [this, portsStorage] {
|
const auto onDone = [this, portsStorage] {
|
||||||
|
Reference in New Issue
Block a user