We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0df47b commit 4fb3980Copy full SHA for 4fb3980
framework/ios/base/bridge/HippyBridge.mm
@@ -558,6 +558,9 @@ - (void)beginLoadingBundle:(NSURL *)bundleURL
558
dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
559
[strongSelf fetchBundleWithURL:bundleURL completion:^(NSData *source, NSError *error) {
560
__strong __typeof(weakSelf)strongSelf = weakSelf;
561
+ if (!strongSelf || !bundleURL) {
562
+ return;
563
+ }
564
NSDictionary *userInfo;
565
if (error) {
566
HippyBridgeFatal(error, strongSelf);
0 commit comments