]> git.saurik.com Git - cydia.git/commitdiff
Unload controllers after presentModal, not before.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 5 Mar 2011 02:44:50 +0000 (18:44 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:36 +0000 (02:41 -0800)
CyteKit/WebViewController.mm

index 78da1c54e5a90cbedfea4a07046d96460bc227ea..8c9a016f5776109c7efe71c0ed36ea32e0cbae5c 100644 (file)
@@ -384,9 +384,9 @@ float CYScrollViewDecelerationRateNormal;
             action:@selector(close)
         ] autorelease]];
 
-        [[self navigationController] presentModalViewController:navigation animated:YES];
-
         [delegate_ unloadData];
+
+        [[self navigationController] presentModalViewController:navigation animated:YES];
     }
 }