summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-22 20:07:45 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-22 20:07:45 -0700
commit317eb8e3b4c31e5a17f885d88f1f27267197a026 (patch)
tree698d08bd94cdabc5f77d652501782ca163c794e8
parent1b120913b3664e7171c2c3fe991aba0b634a0c73 (diff)
Don't yield to reloadSpringBoard: perform it after a delay and return;.
-rw-r--r--MobileCydia.mm7
1 files changed, 3 insertions, 4 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index a1433db..6d6b321 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5274,10 +5274,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
reload: {
UIProgressHUD *hud([delegate_ addProgressHUD]);
[hud setText:UCLocalize("LOADING")];
- [self yieldToSelector:@selector(reloadSpringBoard)];
- [delegate_ removeProgressHUD:hud];
- _trace();
- } break;
+ [self performSelector:@selector(reloadSpringBoard) withObject:nil afterDelay:0];
+ return;
+ }
case 4:
_trace();