public void DisposeRendererDiscoverer() { var rendererDiscoverer = new RendererDiscoverer(_libVLC, _libVLC.RendererList.LastOrDefault().Name); rendererDiscoverer.Start(); rendererDiscoverer.Dispose(); Assert.AreEqual(IntPtr.Zero, rendererDiscoverer.NativeReference); }
public void DisposeRendererDiscoverer() { var rendererDiscoverer = new RendererDiscoverer(new LibVLC()); rendererDiscoverer.Start(); rendererDiscoverer.Dispose(); Assert.AreEqual(IntPtr.Zero, rendererDiscoverer.NativeReference); }