mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20: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 )
|
if ( !sameIOR )
|
||||||
{
|
{
|
||||||
iorAttr->SetValue( objStr.in() );
|
iorAttr->SetValue( objStr.in() );
|
||||||
// UnRegister() !!!
|
// UnRegister() !!! --> No: random problems when meshing in parallel (yacs foreach) in distributed python scripts
|
||||||
SALOME::GenericObj_var genObj = SALOME::GenericObj::_narrow( theIOR );
|
// SALOME::GenericObj_var genObj = SALOME::GenericObj::_narrow( theIOR );
|
||||||
if ( !genObj->_is_nil() )
|
// if ( !genObj->_is_nil() )
|
||||||
genObj->UnRegister();
|
// genObj->UnRegister();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user