Allow rediscovery of hosts after deletion without having to force quit the app

This commit is contained in:
Cameron Gutman
2020-04-18 15:03:52 -07:00
parent bd5e0ecc40
commit b8631db5df
5 changed files with 13 additions and 0 deletions

View File

@@ -829,6 +829,8 @@ static NSMutableSet* hostList;
// This will kick off box art caching
[self updateHosts];
// Reset state first so we can rediscover hosts that were deleted before
[_discMan resetDiscoveryState];
[_discMan startDiscovery];
// This will refresh the applist when a paired host is selected