From: Jay Freeman (saurik) Date: Mon, 7 Feb 2011 20:49:10 +0000 (-0800) Subject: We are no longer recycling package controllers. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/5478b7937f156b32334e4be54e17160451ef11e7 We are no longer recycling package controllers. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 05d2a02b..05214834 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -1185,7 +1185,6 @@ bool isSectionVisible(NSString *section) { @protocol CydiaDelegate - (void) retainNetworkActivityIndicator; - (void) releaseNetworkActivityIndicator; -- (void) setPackageController:(CYPackageController *)view; - (void) clearPackage:(Package *)package; - (void) installPackage:(Package *)package; - (void) installPackages:(NSArray *)packages; @@ -5411,8 +5410,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (void) release { - if ([self retainCount] == 1) - [delegate_ setPackageController:self]; [super release]; } @@ -8614,12 +8611,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [self setNetworkActivityIndicatorVisible:NO]; } -- (void) setPackageController:(CYPackageController *)view { - WebThreadLock(); - [view setPackage:nil]; - WebThreadUnlock(); -} - - (void) cancelAndClear:(bool)clear { @synchronized (self) { if (clear) {