Commit 9afda9be authored by Pierre SAGASPE's avatar Pierre SAGASPE Committed by Felix Paul Kühne
Browse files

local network: fix duplicate name of the dsm discovered on refresh


Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent b984f05b
......@@ -453,6 +453,7 @@
UPnPManager *managerInstance = [UPnPManager GetInstance];
[[managerInstance DB] removeObserver:self];
[[managerInstance SSDP] stopSSDP];
[self _stopDSMDiscovery];
//set the title while refreshing
_refreshControl.attributedTitle = [[NSAttributedString alloc]initWithString:NSLocalizedString(@"LOCAL_SERVER_REFRESH",nil)];
......@@ -671,6 +672,7 @@
- (void)_stopDSMDiscovery
{
[_dsmDiscoverer stopDiscoverer];
_dsmDiscoverer = nil;
}
@end
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