X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FEvents%2FEvents_Loop.cpp;h=d2d96de532ceda5a4c43bb051fadad2a3ebb7f21;hb=4d6bb9de0e54f09a9bbacc94a058cb7cd437d535;hp=da0d8786221b08f93fbe92fd3a338160377cec68;hpb=d61f126b5d84dcf2334e35589a1aaf80e3aa947a;p=modules%2Fshaper.git diff --git a/src/Events/Events_Loop.cpp b/src/Events/Events_Loop.cpp index da0d87862..d2d96de53 100644 --- a/src/Events/Events_Loop.cpp +++ b/src/Events/Events_Loop.cpp @@ -129,7 +129,10 @@ void Events_Loop::flush(const Events_ID& theID) send(aGroup, false); if (!aWasFlushed) - myFlushed.erase(myFlushed.find(theID.myID)); + // TODO: Stabilization fix. Check later. + if(myFlushed.find(theID.myID) != myFlushed.end()) { + myFlushed.erase(myFlushed.find(theID.myID)); + } } }