From e6417cea87c2141237f9fcd67a596a9eb37a7c72 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 19 Feb 2011 15:38:12 -0800 Subject: [PATCH] -[BrowserController close] can only be used on the main thread. --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.47.2