]> git.saurik.com Git - cydia.git/commitdiff
Don't yield to reloadSpringBoard: perform it after a delay and return;.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Mar 2011 03:07:45 +0000 (20:07 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Mar 2011 03:07:45 +0000 (20:07 -0700)
MobileCydia.mm

index a1433db013f94855821179ebf704483ef47e8a6e..6d6b3212e2e18ad197d046fc5c61299b365b2032 100644 (file)
@@ -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();