Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable supportsLocking in createWorkletRuntime #7033

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Feb 16, 2025

Summary

This PR changes the value of supportsLocking argument passed to WorkletRuntime constructor from false to true in order to fix crash when using WorkletRuntime simultaneously from multiple threads.

Fixes Expensify/react-native-live-markdown#616.

Test plan

@tomekzaw tomekzaw added this pull request to the merge queue Feb 17, 2025
Merged via the queue into main with commit c2c5f7f Feb 17, 2025
17 checks passed
@tomekzaw tomekzaw deleted the @tomekzaw/enable-supports-locking branch February 17, 2025 11:03
tomekzaw added a commit that referenced this pull request Feb 19, 2025
This PR changes the value of `supportsLocking` argument passed to
`WorkletRuntime` constructor from `false` to `true` in order to fix
crash when using `WorkletRuntime` simultaneously from multiple threads.

Fixes
Expensify/react-native-live-markdown#616.
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.

Calling worklet from event handler results in a crash
2 participants