]> git.saurik.com Git - cydia.git/commitdiff
Apparently, NSRecycleZone actually destroys the zone.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 2 Dec 2010 00:30:20 +0000 (16:30 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 2 Dec 2010 00:30:20 +0000 (16:30 -0800)
MobileCydia.mm

index 4dd2b57c092b6e6ff9269773232594f719cad69b..20d82bbc73063e771244db7cbe5d255d47b3ad02 100644 (file)
@@ -3363,7 +3363,9 @@ static NSString *Warning_;
     cache_.Close();
 
     apr_pool_clear(pool_);
+
     NSRecycleZone(zone_);
+    zone_ = NSCreateZone(1024 * 1024, 256 * 1024, NO);
 
     int chk(creat("/tmp/cydia.chk", 0644));
     if (chk != -1)