mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Do not unregister in Publish: random problems when meshing in parallel (yacs foreach) in distributed python scripts
This commit is contained in:
parent
b7c268a645
commit
7a8c011e49
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user