forked from organicmaps/organicmaps
Removing exceptionHandler callback for iOS.
This commit is contained in:
parent
8def34ee82
commit
37fc715862
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue