From 40eab785578e87ddfacbc29d30efa50b16941018 Mon Sep 17 00:00:00 2001 From: Gary Mathews Date: Thu, 10 Sep 2020 17:57:55 -0700 Subject: [PATCH] fix(ios): rely on flush interval --- iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.m index 3c9f92ff441..73aba0536bc 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.m @@ -252,7 +252,6 @@ static void TiUncaughtExceptionHandler(NSException *exception) insideException = YES; [[TiExceptionHandler defaultExceptionHandler] reportException:exception]; - [[APSAnalytics sharedInstance] flush]; insideException = NO; if (prevUncaughtExceptionHandler != NULL) { @@ -275,6 +274,5 @@ static void TiSignalHandler(int code) } NSException *exception = [NSException exceptionWithName:@"SIGNAL_ERROR" reason:[NSString stringWithFormat:@"signal error code: %d", code] userInfo:nil]; [[TiExceptionHandler defaultExceptionHandler] reportException:exception]; - [[APSAnalytics sharedInstance] flush]; signal(code, SIG_DFL); }