diff options
-rw-r--r-- | MobileCydia.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index f9c7e38..3472933 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3686,6 +3686,7 @@ class CydiaLogCleaner : } - (bool) clean { +@synchronized (self) { // XXX: I don't remember this condition if (lock_ != NULL) return false; @@ -3706,7 +3707,7 @@ class CydiaLogCleaner : return false; return true; -} +} } - (bool) prepare { fetcher_->Shutdown(); |