Commit fbc26105 authored by Felix Paul Kühne's avatar Felix Paul Kühne

discoverer: explicitly deallocate the media list before we release the libvlc instance

parent 332611b0
......@@ -117,6 +117,8 @@ NSString *const VLCMediaDiscovererCategory = @"VLCMediaDiscovererCategory";
[[VLCEventManager sharedManager] cancelCallToObject:self];
_discoveredMedia = nil;
if (_mdis) {
if (libvlc_media_discoverer_is_running(_mdis))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment