We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294c6e9 commit 17b1266Copy full SHA for 17b1266
natives/mac-deep-link/DeepLinkBridge.m
@@ -28,12 +28,10 @@ static void abortWithMessage(NSString *message) {
28
29
// Most aggressive crash - direct null pointer dereference
30
// This causes SIGSEGV which is very hard to catch
31
- volatile int *p = NULL;
32
- *p = 42;
33
-
34
- // Fallbacks in case the above somehow doesn't work
35
- __builtin_trap();
36
- abort();
+ [[NSNotificationCenter defaultCenter]
+ postNotificationName:@"DiffPlug diffplug:// protocol error"
+ object:nil
+ userInfo:@{@"error": message}];
37
}
38
39
#pragma mark - JNI bootstrap
0 commit comments