Commit 9f3ae8b
Fix EmptyCatchBlock: Add comment for InterruptedException handling
Summary:
Fixed EmptyCatchBlock lint error in BridgelessAtomicRef.kt.
Added a comment explaining that the InterruptedException is intentionally
caught to record the interrupt status, which is then restored after the
wait loop completes. This is a standard pattern for proper interrupt handling.
changelog: [internal] internal
Reviewed By: alanleedev
Differential Revision: D917287721 parent 954589d commit 9f3ae8b
File tree
1 file changed
+2
-0
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime
1 file changed
+2
-0
lines changedpackages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/BridgelessAtomicRef.kt
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments