Skip to content

RUM-14368: Fix crash in RumViewScope#116

Merged
ambushwork merged 1 commit into
developfrom
yl/fix-rum-view-scope-crash
Feb 13, 2026
Merged

RUM-14368: Fix crash in RumViewScope#116
ambushwork merged 1 commit into
developfrom
yl/fix-rum-view-scope-crash

Conversation

@ambushwork

Copy link
Copy Markdown
Member

What does this PR do?

In some edge cases, datadogRumContext is not set when RumViewScope or other scopes are created, datadogRumContext will be invalid, causing crash when trying to access the field of it.

This PR fixes the issue by falling back to empty context when it is invalid.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • 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)

@ambushwork
ambushwork requested a review from a team as a code owner February 13, 2026 10:16
@ambushwork
ambushwork merged commit d83945f into develop Feb 13, 2026
8 checks passed
@ambushwork
ambushwork deleted the yl/fix-rum-view-scope-crash branch February 13, 2026 12:17
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.

3 participants