예제 #1
0
파일: RefCounted.cs 프로젝트: corefan/urho
        protected virtual void Dispose(bool disposing)
        {
            if (IsDeleted)
            {
                return;
            }

            if (disposing)
            {
                IsDeleted = true;
                OnDeleted();
            }
            Runtime.UnregisterObject(handle);
        }