mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-31 21:50:32 +05:00
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:
parent
046d929fa1
commit
61d724e337
@ -2203,6 +2203,9 @@ void SMESH_subMesh::DeleteEventListener(EventListener* listener)
|
|||||||
delete l_d->second;
|
delete l_d->second;
|
||||||
}
|
}
|
||||||
_eventListeners.erase( l_d );
|
_eventListeners.erase( l_d );
|
||||||
|
|
||||||
|
if ( l_d->first && !l_d->first->IsDeletable() )
|
||||||
|
l_d->first->myBusySM.erase( this );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user