Skip to content

Commit 1cc648f

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Interrupt thread before throwing in BridgelessDevSupportManager (facebook#47100)
Summary: Pull Request resolved: facebook#47100 We should interrupt thread before throwing changelog: [internal] internal Reviewed By: bvanderhoof, arushikesarwani94 Differential Revision: D64545258 fbshipit-source-id: dec90ca2e75b8f3bceb258edbb525372065962ee
1 parent 6f42123 commit 1cc648f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/BridgelessDevSupportManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public void onSuccess(final JSBundleLoader bundleLoader) {
100100
}
101101
callback.onSuccess();
102102
} catch (InterruptedException e) {
103+
Thread.currentThread().interrupt();
103104
throw new RuntimeException(
104105
"[BridgelessDevSupportManager]: Got interrupted while loading bundle", e);
105106
}

0 commit comments

Comments
 (0)