From 37fc7158621e35d08aac4c4c8792a8411bf8c591 Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Thu, 5 Feb 2015 09:19:09 +0300 Subject: [PATCH] Removing exceptionHandler callback for iOS. --- iphone/Maps/main.mm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/iphone/Maps/main.mm b/iphone/Maps/main.mm index 23bf39b148..774873b950 100644 --- a/iphone/Maps/main.mm +++ b/iphone/Maps/main.mm @@ -17,21 +17,10 @@ - (void) dummyThread: (id) obj {} @end - -/// Used to log NSExceptions. -static void exceptionHandler(NSException * ex) -{ - NSArray *stack = [ex callStackSymbols]; - NSLog(@"%@", ex.name); - NSLog(@"%@", ex.reason); - NSLog(@"Stack trace: %@", stack); -} - int main(int argc, char * argv[]) { LOG(LINFO, ("maps.me started, detected CPU cores:", GetPlatform().CpuCores())); - NSSetUncaughtExceptionHandler(&exceptionHandler); int retVal; @autoreleasepool {