Commit 117c3587 authored by Claes Sjofors's avatar Claes Sjofors

rt_emon message loop bugfix

parent f7105ade
......@@ -3715,6 +3715,16 @@ sendEventListToOutunit (
etp != NULL;
etp = tree_Successor(&sts, l.eventTab, etp)
) {
if ( etp->ap && etp->ap->idx == 0) {
/* Fix, this node should have been removed in activeListRemove ! */
unsigned int idx = etp->idx;
etp = tree_Successor(&sts, l.eventTab, etp);
tree_Remove(&sts, l.eventTab, &idx);
if ( etp == NULL)
break;
}
if ((ep = etp->ep) != NULL) {
if (isForOutunit(op, ep->outunit, ep->object.Objid, ep->objName, ep->msg.info.EventFlags, ep->local))
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment