Only dispatch_async on limelight-common's threads

This commit is contained in:
Cameron Gutman committed 2015-01-09 16:58:18 -05:00
1 parent 600560d9e3
commit 61401b3e7b
5 files changed
+20 -2

No files matched your search

+9
View File
@@ -79,11 +79,20 @@
[opQueue addOperation:_connection];
}
// This should NEVER be called from within a thread
// owned by limelight-common
- (void) stopStream
{
[_connection terminate];
}
// This should only be called from within a thread
// owned by limelight-common
- (void) stopStreamInternal
{
[_connection terminateInternal];
}
- (BOOL) launchApp:(HttpManager*)hMan {
NSData* launchResp = [hMan executeRequestSynchronously:
[hMan newLaunchRequest:_config.appID