Skip to content

Fixes #1751: Prevent crash in forgetDocument when disposed#1765

Merged
dbaeumer merged 1 commit into
mainfrom
dbaeumer/secure-salamander-emerald
May 19, 2026
Merged

Fixes #1751: Prevent crash in forgetDocument when disposed#1765
dbaeumer merged 1 commit into
mainfrom
dbaeumer/secure-salamander-emerald

Conversation

@dbaeumer
Copy link
Copy Markdown
Member

The changes ensure that the forgetDocument method in the DiagnosticRequestor class checks if the object is disposed before proceeding, preventing crashes in the extension host. Additionally, the event handler for closing visible documents has been updated to properly manage disposables.

@dbaeumer dbaeumer merged commit 49c7965 into main May 19, 2026
6 checks passed
@dbaeumer dbaeumer deleted the dbaeumer/secure-salamander-emerald branch May 19, 2026 16:06
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