summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-19 06:11:20 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-19 06:11:20 -0800
commita1d85d421fcc2a6eca784ddbcef8a03280189f9c (patch)
treea2e2b7e8d0edfc998564a4de335250d681de66b6 /MobileCydia.mm
parent1fe5dc43ed92bdc8c68c20f921d3ba1c6b6d2fef (diff)
For safety's sake, let's addTrivialSources: 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 607cfcb..22c6db4 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3951,7 +3951,7 @@ static NSString *Warning_;
}
- (void) addTrivialSource:(NSString *)href {
- [delegate_ addTrivialSource:href];
+ [delegate_ performSelectorOnMainThread:@selector(addTrivialSource:) withObject:href waitUntilDone:NO];
}
- (void) refreshSources {