summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index ac7f0b9..5d84d6d 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9723,6 +9723,8 @@ _end
}
- (void) applicationDidEnterBackground:(UIApplication *)application {
+ if (kCFCoreFoundationVersionNumber < 1000 && [self isSafeToSuspend])
+ return [self terminateWithSuccess];
[self saveState];
}