Beispiel #1
0
void CPing::release()
{
	CInterfaceManager *pIM = CInterfaceManager::getInstance();
	if(pIM)
	{
		CCDBNodeLeaf *pNodeLeaf = CDBManager::getInstance()->getDbProp("SERVER:DEBUG_INFO:Ping", false);
		if(pNodeLeaf)
		{
			ICDBNode::CTextId textId;
			pNodeLeaf->removeObserver(this, textId);
		}
		else
			nlwarning("CPing: 'SERVER:DEBUG_INFO:Ping' does not exist.");
	}
}