Skip to content

Commit

Permalink
Interrupt thread before throwing in BridgelessDevSupportManager (face…
Browse files Browse the repository at this point in the history
…book#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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 18, 2024
1 parent 6f42123 commit 1cc648f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public void onSuccess(final JSBundleLoader bundleLoader) {
}
callback.onSuccess();
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RuntimeException(
"[BridgelessDevSupportManager]: Got interrupted while loading bundle", e);
}
Expand Down

0 comments on commit 1cc648f

Please sign in to comment.