Example #1
0
        protected override void Dispose(bool disposing)
        {
            if (m_memRender != null)
            {
                m_memRender.Dispose();
            }

            base.Dispose(disposing);
        }
Example #2
0
        protected override void Dispose(bool disposing)
        {
            if (m_memRender != null)
            {
                m_memRender.Dispose();
                m_memRender = null;
            }

            if (m_memRenderEx != null)
            {
                m_memRenderEx.Dispose();
                m_memRenderEx         = null;
                Events.PlayerPlaying -= Events_PlayerPlaying;
            }

            base.Dispose(disposing);
        }