Diag: do no clear machineEventSet on diagRequest
This commit is contained in:
parent
b34716ef93
commit
8d03926de4
@ -45,6 +45,7 @@ void DeviceControllerDiag::init(hwinf *hw, DBusControllerInterface *dbus, QObjec
|
|||||||
void DeviceControllerDiag::diagReInit()
|
void DeviceControllerDiag::diagReInit()
|
||||||
{
|
{
|
||||||
this->machineEventSet.clear();
|
this->machineEventSet.clear();
|
||||||
|
this->previousMachineEventSet.clear();
|
||||||
this->_isErrorState = false;
|
this->_isErrorState = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -61,7 +62,6 @@ void DeviceControllerDiag::diagRequest()
|
|||||||
qCritical() << "DeviceControllerDiag::diagRequest() is already running";
|
qCritical() << "DeviceControllerDiag::diagRequest() is already running";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this->machineEventSet.clear();
|
|
||||||
this->isRequestRunning = true;
|
this->isRequestRunning = true;
|
||||||
this->diagRequestTimeoutTimer->start();
|
this->diagRequestTimeoutTimer->start();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user