summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index badaa61..face09b 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9764,6 +9764,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
}
+- (void) applicationDidReceiveMemoryWarning:(UIApplication *)application {
+ NSLog(@"--");
+ [[NSURLCache sharedURLCache] removeAllCachedResponses];
+}
+
- (void) applicationDidFinishLaunching:(id)unused {
//[NSThread detachNewThreadSelector:@selector(_sendMemoryWarningNotifications) toTarget:self withObject:nil];