mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-23 08:30:31 +00:00
Check UUID length is non-zero before adding a new host
This commit is contained in:
1 parent
7767ae497b
commit
fab8d604d2
1 file changed
+1
-1
@@ -88,7 +88,7 @@
|
||||
}
|
||||
|
||||
- (BOOL) addHostToDiscovery:(Host *)host {
|
||||
if (![self isHostInDiscovery:host]) {
|
||||
if (host.uuid.length > 0 && ![self isHostInDiscovery:host]) {
|
||||
[_hostQueue addObject:host];
|
||||
if (shouldDiscover) {
|
||||
[_opQueue addOperation:[self createWorkerForHost:host]];
|
||||
|
||||
Reference in new issue
Block a user