Permalink
Browse files

Comment out special exception-handling on iOS

  • Loading branch information...
1 parent c6c10b9 commit c399f09c933a19d4a6d732581623d29e5b214383 @mikeabdullah mikeabdullah committed Aug 7, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 KSThreadProxy.m
View
@@ -98,15 +98,19 @@ @implementation NSInvocation (KSThreadProxyAdditions)
*/
- (void)ks_invokeWithTargetAndReportExceptions:(id)target
{
+#if !TARGET_OS_IPHONE
@try
{
+#endif
[self invokeWithTarget:target];
[self retainArguments];
+#if !TARGET_OS_IPHONE
}
@catch (NSException *exception)
{
[NSApp reportException:exception];
}
+#endif
}
@end

0 comments on commit c399f09

Please sign in to comment.