regression imps/H4

Fix DeleteEventListener(): erase self from SMESH_subMeshEventListener::myBusySM

+    if ( l_d->first && !l_d->first->IsDeletable() )
+      l_d->first->myBusySM.erase( this );
This commit is contained in:
eap 2012-11-22 16:45:03 +00:00
parent 046d929fa1
commit 61d724e337

View File

@ -2203,6 +2203,9 @@ void SMESH_subMesh::DeleteEventListener(EventListener* listener)
delete l_d->second;
}
_eventListeners.erase( l_d );
if ( l_d->first && !l_d->first->IsDeletable() )
l_d->first->myBusySM.erase( this );
}
}