summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 77fffa8..f5a0eb2 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -8675,6 +8675,13 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (bool) perform {
+ // XXX: this is a really crappy way of doing this.
+ // like, seriously: this state machine is still broken, and cancelling this here doesn't really /fix/ that.
+ // for one, the user can still /start/ a reloading data event while they have a queue, which is stupid
+ // for two, this just means there is a race condition between the refresh completing and the confirmation controller appearing.
+ if ([tabbar_ updating])
+ [tabbar_ cancelUpdate];
+
if (![database_ prepare])
return false;