Skip to content

Commit

Permalink
Updated muscle submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
jfriesne committed Jul 25, 2024
1 parent 4975106 commit 607bbfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/messagetree/gateway/MuxTreeGateway.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ status_t MuxTreeGateway :: TreeGateway_RemoveAllSubscriptions(ITreeGatewaySubscr
if ((_subscriberInfos.Get(calledBy, subs).IsOK(ret))&&(subs()))
{
const TreeSubscriberInfo temp = *subs(); // make local copy to avoid potential re-entrancy issues
for (HashtableIterator<String, PathMatcherEntry> iter(temp.GetEntries()); iter.HasData(); iter++)
(void) TreeGateway_RemoveSubscription(calledBy, iter.GetKey(), iter.GetValue().GetFilter(), TreeGatewayFlags()).IsError(ret); // IsError() will set (ret) on error
for (HashtableIterator<uint32, Hashtable<String, PathMatcherEntry > > iter(temp.GetEntries()); iter.HasData(); iter++)
for (HashtableIterator<String, PathMatcherEntry> subIter(iter.GetValue()); subIter.HasData(); subIter++)
(void) TreeGateway_RemoveSubscription(calledBy, subIter.GetKey(), subIter.GetValue().GetFilter(), TreeGatewayFlags()).IsError(ret); // IsError() will set (ret) on error
return ret;
}
else return ret;
Expand Down

0 comments on commit 607bbfd

Please sign in to comment.