summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 17b08bd..bda674d 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -7349,6 +7349,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
} return self;
}
+// this mostly works because reloadData (below) is @synchronized (database_)
+// XXX: that said, I've been running into problems with NSRangeExceptions :(
- (void) _reloadPackages:(NSArray *)packages {
CFRelease(packages_);
packages_ = CFArrayCreateMutable(kCFAllocatorDefault, [packages count], NULL);