summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm12
1 files changed, 6 insertions, 6 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index bebae78..10a6f51 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -8227,6 +8227,12 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
trivial_bz2_ == nil &&
trivial_gz_ == nil
) {
+ [delegate_ releaseNetworkActivityIndicator];
+
+ [delegate_ removeProgressHUD:hud_];
+ [hud_ autorelease];
+ hud_ = nil;
+
bool defer(false);
if (cydia_) {
@@ -8272,12 +8278,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[alert show];
}
- [delegate_ releaseNetworkActivityIndicator];
-
- [delegate_ removeProgressHUD:hud_];
- [hud_ autorelease];
- hud_ = nil;
-
if (!defer) {
[href_ release];
href_ = nil;