From: Jay Freeman (saurik) Date: Sat, 19 Feb 2011 23:38:12 +0000 (-0800) Subject: -[BrowserController close] can only be used on the main thread. X-Git-Tag: v1.1.0%b1~286 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/e6417cea87c2141237f9fcd67a596a9eb37a7c72 -[BrowserController close] can only be used on the main thread. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index abe7cd54..367619d4 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 {