public void ReleaseRef() { if (_root == null) //disposed { return; } refCount--; if (refCount == 0) { if (_root != this) { _root.ReleaseRef(); } if (onRelease != null) { onRelease(this); } } }