void hkDefaultDemo::mouseUp() { if(m_mouseActive) { objectReleased(); m_mouseActive = false; } }
void GxxObject::release() { retainCount -= 1; if (retainCount == 0) { objectReleased(); delete this; } }