delete _id;
if(_NS)
delete _NS;
+ if(!CORBA::is_nil(_dftPyNode))
+ _dftPyNode->UnRegister();
+ if(!CORBA::is_nil(_dftPyScriptNode))
+ _dftPyScriptNode->UnRegister();
}
//=============================================================================
{
CORBA::Object_var obj = _orb->string_to_object(astr.c_str());
node = Engines::PyNode::_narrow(obj);
+ if(!CORBA::is_nil(_dftPyNode))
+ _dftPyNode->UnRegister();
_dftPyNode = node;
+ if(!CORBA::is_nil(_dftPyNode))
+ _dftPyNode->Register();
return node._retn();
}
else
{
CORBA::Object_var obj = _orb->string_to_object(astr.c_str());
node = Engines::PyScriptNode::_narrow(obj);
+ if(!CORBA::is_nil(_dftPyScriptNode))
+ _dftPyScriptNode->UnRegister();
_dftPyScriptNode = node;
+ if(!CORBA::is_nil(_dftPyScriptNode))
+ _dftPyScriptNode->Register();
return node._retn();
}
else