const Error *Node::UnInit( void ) { // Detach this node from the network if( netRef ) { Network *net = (Network*)RefObj::LockRef( netRef ); if( net ) { net->DetachNode( this ); net->UnlockRef(); } RefObj::ReleaseRef( netRef ); netRef = 0; } return 0; }