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:
b7c268a
)
Do not unregister in Publish: random problems when meshing in parallel (yacs foreach...
author
Paul RASCLE
<paul.rascle@edf.fr>
Thu, 8 Feb 2018 15:42:26 +0000
(16:42 +0100)
committer
Paul RASCLE
<paul.rascle@edf.fr>
Fri, 16 Feb 2018 14:45:19 +0000
(15:45 +0100)
src/SMESH_I/SMESH_Gen_i_1.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i_1.cxx
b/src/SMESH_I/SMESH_Gen_i_1.cxx
index bb3703de1e845356f5cfd2a60390b33586a57167..6444617c7f744bba743461d5be8ec288fe33fe43 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i_1.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i_1.cxx
@@
-298,10
+298,10
@@
static SALOMEDS::SObject_ptr publish(SALOMEDS::Study_ptr theStudy,
if ( !sameIOR )
{
iorAttr->SetValue( objStr.in() );
- // UnRegister() !!!
- SALOME::GenericObj_var genObj = SALOME::GenericObj::_narrow( theIOR );
- if ( !genObj->_is_nil() )
- genObj->UnRegister();
+ // UnRegister() !!!
--> No: random problems when meshing in parallel (yacs foreach) in distributed python scripts
+
//
SALOME::GenericObj_var genObj = SALOME::GenericObj::_narrow( theIOR );
+
//
if ( !genObj->_is_nil() )
+
//
genObj->UnRegister();
}
}