mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
now request app image on multiple threads
This commit is contained in:
1 parent
7cf521272a
commit
ccd8b3332e
3 files changed
+40
-23
No files matched your search
@@ -27,6 +27,7 @@
|
||||
NSData* _cert;
|
||||
NSString* _currentGame;
|
||||
DiscoveryManager* _discMan;
|
||||
AppManager* _appManager;
|
||||
UIAlertView* _pairAlert;
|
||||
UIScrollView* hostScrollView;
|
||||
int currentPosition;
|
||||
@@ -77,7 +78,11 @@ static StreamConfiguration* streamConfig;
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self updateApps];
|
||||
});
|
||||
[AppManager retrieveAppAssets:appList withManager:hMan andCallback:self];
|
||||
if (_appManager != nil) {
|
||||
[_appManager stopRetrieving];
|
||||
}
|
||||
_appManager = [[AppManager alloc] initWithHost:_selectedHost andCallback:self];
|
||||
[_appManager retrieveAssets:appList];
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user