Пример #1
0
            protected override void Dispose(bool disposing)
            {
                base.Dispose(disposing);

                if (m_Owner == null)
                {
                    return;
                }

                m_Owner.RevokeLease();
                m_Owner = null;
            }
Пример #2
0
 public Lease(ManagedTexture <TTexture> owner)
     : base(owner.m_Texture, false)
 {
     m_Owner = owner;
 }