From 317eb8e3b4c31e5a17f885d88f1f27267197a026 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 22 Mar 2011 20:07:45 -0700 Subject: Don't yield to reloadSpringBoard: perform it after a delay and return;. --- MobileCydia.mm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'MobileCydia.mm') 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(); -- cgit v1.2.3