Skip to content

Commit f9835a5

Browse files
committed
Remove assertion error to avoid crash issues
1 parent 96b2e40 commit f9835a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/proyecto26/inappbrowser/RNInAppBrowser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public void onEvent(ChromeTabsDismissedEvent event) {
235235
unRegisterEventBus();
236236

237237
if (mOpenBrowserPromise == null) {
238-
throw new AssertionError();
238+
return;
239239
}
240240

241241
if (event.isError) {

0 commit comments

Comments
 (0)