Diag: do no clear machineEventSet on diagRequest

This commit is contained in:
Siegfried Siegert 2025-06-12 10:24:25 +02:00
parent b34716ef93
commit 8d03926de4
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -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();