Skip to content

Commit

Permalink
fix(ios): rely on flush interval
Browse files Browse the repository at this point in the history
  • Loading branch information
garymathews authored and github-actions[bot] committed Sep 11, 2020
1 parent 28c4f1d commit 40eab78
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ static void TiUncaughtExceptionHandler(NSException *exception)
insideException = YES;

[[TiExceptionHandler defaultExceptionHandler] reportException:exception];
[[APSAnalytics sharedInstance] flush];

insideException = NO;
if (prevUncaughtExceptionHandler != NULL) {
Expand All @@ -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);
}

0 comments on commit 40eab78

Please sign in to comment.