Skip to content

Portfolio: Fix - Prevent worklet cached Hermes value race#2231

Merged
JohnathanWhite merged 1 commit into
bitpay:developfrom
msalcala11:fix-worklet-synchronization
Jul 24, 2026
Merged

Portfolio: Fix - Prevent worklet cached Hermes value race#2231
JohnathanWhite merged 1 commit into
bitpay:developfrom
msalcala11:fix-worklet-synchronization

Conversation

@msalcala11

Copy link
Copy Markdown
Collaborator

The react-native-worklets package let multiple Worklet threads replace the same cached Hermes value at once, causing one thread to destroy memory another thread was still using, which led to a crash. This patch locks cache ownership and makes other runtimes create their own temporary values instead.

@msalcala11 msalcala11 changed the title fix(worklets): prevent cached Hermes value race Portfolio: Fix - Prevent worklet cached Hermes value race Jul 17, 2026
@JohnathanWhite

Copy link
Copy Markdown
Collaborator

@JohnathanWhite
JohnathanWhite merged commit a0e7075 into bitpay:develop Jul 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants