diff options
author | Grant Paul <chpwn@chpwn.com> | 2010-09-30 23:26:15 -0700 |
---|---|---|
committer | Jay Freeman <saurik@Jay-Freemans-MacBook-Pro.local> | 2010-10-04 00:12:21 -0700 |
commit | 7eff7ea607feee278f0216f76a9eeb2705d74451 (patch) | |
tree | 9e36fde59bbc5f67ae94ce036a6f5f92250ad372 /Cydia.mm | |
parent | b9096873665b536126f1fc5c0c18575400026c5c (diff) |
Fixed refreshing on sleep/call/lock.
Diffstat (limited to 'Cydia.mm')
-rw-r--r-- | Cydia.mm | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -8400,6 +8400,13 @@ static _finline void _setHomePage(Cydia *self) { } } +- (void) applicationWillResignActive:(UIApplication *)application { + // Stop refreshing if you get a phone call or lock the device. + if ([container_ updating]) [container_ cancelUpdate]; + + [super applicationWillResignActive:application]; +} + - (void) applicationDidFinishLaunching:(id)unused { [CYBrowserController _initialize]; |