protected override void Dispose(bool disposing) { if (m_memRender != null) { m_memRender.Dispose(); } if (m_memRenderEx != null) { m_memRenderEx.Dispose(); } base.Dispose(disposing); }
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); }