diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-19 06:11:20 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-19 06:11:20 -0800 |
commit | a1d85d421fcc2a6eca784ddbcef8a03280189f9c (patch) | |
tree | a2e2b7e8d0edfc998564a4de335250d681de66b6 | |
parent | 1fe5dc43ed92bdc8c68c20f921d3ba1c6b6d2fef (diff) |
For safety's sake, let's addTrivialSources: on the main thread.
-rw-r--r-- | MobileCydia.mm | 2 |
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 { |