From df9982a79135eb5974a74aa5481ca47025458aac Mon Sep 17 00:00:00 2001 From: Nikolay Volosatov Date: Tue, 14 Jun 2016 11:47:10 +0300 Subject: [PATCH] Disable zombie catching by default --- Source/KSCrash/Recording/KSCrash.h | 2 +- Source/KSCrash/Recording/KSCrash.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/KSCrash/Recording/KSCrash.h b/Source/KSCrash/Recording/KSCrash.h index 2a5fb6e10..c703cf49c 100644 --- a/Source/KSCrash/Recording/KSCrash.h +++ b/Source/KSCrash/Recording/KSCrash.h @@ -124,7 +124,7 @@ typedef enum /** If YES, monitor all Objective-C/Swift deallocations and keep track of any * accesses after deallocation. * - * Default: YES + * Default: NO */ @property(nonatomic,readwrite,assign) bool catchZombies; diff --git a/Source/KSCrash/Recording/KSCrash.m b/Source/KSCrash/Recording/KSCrash.m index eb21cfe30..e5de1c2b9 100644 --- a/Source/KSCrash/Recording/KSCrash.m +++ b/Source/KSCrash/Recording/KSCrash.m @@ -158,7 +158,7 @@ - (id) initWithReportFilesDirectory:(NSString *)reportFilesDirectory self.searchThreadNames = NO; self.searchQueueNames = NO; self.introspectMemory = YES; - self.catchZombies = YES; + self.catchZombies = NO; self.maxStoredReports = 5; } return self;