diff options
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 07a2c00..8d60efa 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4564,6 +4564,18 @@ static _H<NSMutableSet> Diversions_; } @end + +@interface AppCacheController : CydiaWebViewController { +} + +@end + +@implementation AppCacheController + +- (void) didReceiveMemoryWarning { +} + +@end /* }}} */ // CydiaScript {{{ @@ -6431,6 +6443,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { return [NSURL URLWithString:@"cydia://home"]; } +- (void) didReceiveMemoryWarning { +} + - (void) aboutButtonClicked { UIAlertView *alert([[[UIAlertView alloc] init] autorelease]); @@ -9653,7 +9668,7 @@ _trace(); broken_ = [NSMutableArray arrayWithCapacity:4]; // XXX: I really need this thing... like, seriously... I'm sorry - [[[CydiaWebViewController alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/appcache/", UI_]]] reloadData]; + [[[AppCacheController alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/appcache/", UI_]]] reloadData]; window_ = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; [window_ orderFront:self]; |