Пример #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (m_disposed) return;
            if (disposing)
            {
                if (null != m_desc)
                {
                    m_desc.Dispose();
                    m_desc = null;
                }

                m_session = null;
            }
            m_disposed = true;
        }
Пример #2
0
 public override void Dispose()
 {
     m_descServer.Dispose();
     base.Dispose();
 }