summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-19 15:38:12 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-19 16:44:28 -0800
commite6417cea87c2141237f9fcd67a596a9eb37a7c72 (patch)
treeb3a5004c1c23f7c7512bec9b67da1ba5b71c09d5 /MobileCydia.mm
parent4187453f7ddca4228cecb5ab9512b52f3886e41a (diff)
-[BrowserController close] can only be used on the main thread.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index abe7cd5..367619d 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4076,7 +4076,7 @@ static NSString *Warning_;
}
- (void) close {
- [indirect_ close];
+ [indirect_ performSelectorOnMainThread:@selector(close) withObject:nil waitUntilDone:NO];
}
- (void) installPackages:(NSArray *)packages {