Skip to content

Conversation

@aonnikov
Copy link
Member

No description provided.

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
@aonnikov aonnikov requested review from Copilot and haiodo October 15, 2025 05:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a race condition bug where the commentMap observer could be unobserved before being properly observed in the inline comments feature. The fix ensures proper cleanup ordering by moving the destructor registration inside the async initialization function.

  • Moves the destructor registration inside the initObserver async function
  • Ensures the unobserve destructor is only added after the observer is successfully attached

@huly-github-staging
Copy link

Connected to Huly®: UBERF-13939

@aonnikov aonnikov merged commit 35808da into develop Oct 15, 2025
15 checks passed
@aonnikov aonnikov deleted the fix-inline-comment branch October 15, 2025 07:02
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