mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Remove redundant state change call and revert the termination handler.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
28aa5e4caa
commit
ce42f36126
@@ -46,7 +46,6 @@ inline int runStateMachine(TMQDevice& device, FairMQProgOptions& config)
|
||||
}
|
||||
else if (control == "static")
|
||||
{
|
||||
device.ChangeState(TMQDevice::RUN);
|
||||
device.WaitForEndOfState(TMQDevice::RUN);
|
||||
|
||||
device.ChangeState(TMQDevice::RESET_TASK);
|
||||
|
Reference in New Issue
Block a user