]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Events/Events_Loop.cpp
Salome HOME
Implementation of mechanism of grouping of messages
[modules/shaper.git] / src / Events / Events_Loop.cpp
index 5a5a9442672406c62ebd8a7465cfa87bdb1608bd..40917a64f710c5b7d7c815fb3e8f62313ed0bd0d 100644 (file)
@@ -103,8 +103,8 @@ void Events_Loop::flush(const Events_ID& theID)
     myGroups.find(theID.eventText());
   if (aMyGroup != myGroups.end()) { // really sends
     Events_MessageGroup* aGroup = aMyGroup->second;
-    send(*aGroup, false);
     myGroups.erase(aMyGroup);
+    send(*aGroup, false);
     delete aGroup;
   }
 }