Skip to content
Snippets Groups Projects
Commit d423be45 authored by Ruud Overeem's avatar Ruud Overeem
Browse files

Task #1418: Fixed never ending loop that occured when all children died before...

Task #1418: Fixed never ending loop that occured when all children died before claim period was reached.
parent d4482e20
No related branches found
No related tags found
No related merge requests found
......@@ -464,6 +464,10 @@ GCFEvent::TResult ObservationControl::active_state(GCFEvent& event, GCFPortInter
itsBusyControllers = itsChildControl->countChilds(0, CNTLRTYPE_NO_TYPE);
}
else if (timerEvent.id == itsStopTimer) {
if (itsState == CTState::QUIT) {
LOG_INFO("Re-entry of quit-phase, ignored.");
break;
}
setState(CTState::QUIT);
itsChildResult = itsQuitReason;
itsChildsInError = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment