Skip to content

Conversation

@cdn34dd
Copy link
Contributor

@cdn34dd cdn34dd commented Feb 9, 2026

What does this PR do?

Change requiresMainQueueSetup from YES to NO in RCTDatadogWebViewManager to prevent deadlock with React Native's Fabric animation system.

The issue occurs intermittently when lazy-loading the Webview module during navigation events. When the issue occurs the module would be kept waiting for the main thread indefinitely while the main thread was blocked on ComponentDescriptorRegistry's shared lock.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@cdn34dd cdn34dd requested a review from a team as a code owner February 9, 2026 16:42
@cdn34dd cdn34dd changed the title Change Webview package requiresMainQueueSetup to NO to prevent deadlock Change Webview package's requiresMainQueueSetup return value to prevent deadlock Feb 9, 2026
Copy link
Contributor

@sbarrio sbarrio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧

@cdn34dd cdn34dd changed the title Change Webview package's requiresMainQueueSetup return value to prevent deadlock [RUM-14431] Change Webview package's requiresMainQueueSetup return value to prevent deadlock Feb 10, 2026
@cdn34dd cdn34dd merged commit 146a68d into feature/v2 Feb 10, 2026
2 checks passed
@cdn34dd cdn34dd deleted the carlosnogueira/RUM-14431/fix-webview-ios-new-arch-deadlock branch February 10, 2026 10:52
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