Skip to content

Commit d7a7edb

Browse files
committed
Code review
1 parent 1211a64 commit d7a7edb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

example/App.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export default class App extends Component<ComponentState> {
9696
Linking.openURL(url);
9797
}
9898
} catch (error) {
99-
console.error(error);
10099
Alert.alert(error.message);
101100
} finally {
102101
// Restore the previous StatusBar of the App

ios/RNInAppBrowser.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ + (BOOL)requiresMainQueueSetup
165165
}
166166
@catch (NSException *exception) {
167167
reject(RNInAppBrowserErrorCode, @"Unable to open url.", nil);
168-
[self _close];
168+
[self flowDidFinish];
169169
NSLog(@"CRASH: %@", exception);
170170
NSLog(@"Stack Trace: %@", [exception callStackSymbols]);
171171
return;

0 commit comments

Comments
 (0)