Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba6cae
)
Fix omniORB::fatalException at SALOME termination after creating a Mesh in Python
author
eap
<eap@opencascade.com>
Thu, 19 Sep 2013 12:40:41 +0000
(12:40 +0000)
committer
eap
<eap@opencascade.com>
Thu, 19 Sep 2013 12:40:41 +0000
(12:40 +0000)
Deactivate CORBA object in destructor
src/SMESH_I/SMESH_MeshEditor_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_MeshEditor_i.cxx
b/src/SMESH_I/SMESH_MeshEditor_i.cxx
index 3edcb167d592e33c15d3355333301f6895f5b9d9..7a89a00cf3b0eff0f2927d8d9656ffe46377038a 100644
(file)
--- a/
src/SMESH_I/SMESH_MeshEditor_i.cxx
+++ b/
src/SMESH_I/SMESH_MeshEditor_i.cxx
@@
-458,6
+458,10
@@
SMESH_MeshEditor_i::SMESH_MeshEditor_i(SMESH_Mesh_i* theMesh, bool isPreview):
SMESH_MeshEditor_i::~SMESH_MeshEditor_i()
{
+ PortableServer::POA_var poa = SMESH_Gen_i::GetPOA();
+ PortableServer::ObjectId_var anObjectId = poa->servant_to_id(this);
+ poa->deactivate_object(anObjectId.in());
+
//deleteAuxIDSources();
delete myPreviewMesh; myPreviewMesh = 0;
delete myPreviewEditor; myPreviewEditor = 0;