diff options
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 2646549..6555d3c 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8964,9 +8964,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (void) _saveConfig { - _trace(); - MetaFile_.Sync(); - _trace(); + @synchronized (database_) { + _trace(); + MetaFile_.Sync(); + _trace(); + } if (Changed_) { NSString *error(nil); |