Skip to content

fix: memory leak in abstractRuntimeExtensionsEditor#326890

Open
SimonSiefke wants to merge 1 commit into
microsoft:mainfrom
SimonSiefke:fix/memory-leak-abstract-runtime-extensions-editor
Open

fix: memory leak in abstractRuntimeExtensionsEditor#326890
SimonSiefke wants to merge 1 commit into
microsoft:mainfrom
SimonSiefke:fix/memory-leak-abstract-runtime-extensions-editor

Conversation

@SimonSiefke

Copy link
Copy Markdown
Contributor

Details

Registers a disposable in abstractRuntimeExtensionsEditor so it is properly disposed.

Before

When opening two running extensions editors then closing all editors 37 times, the number of various functions seems to grow each time:

extension-running-extensions-show-side-by-side-before

After

No more leak is detected.

Test Video

video-edited-3.mp4

Copilot AI review requested due to automatic review settings July 21, 2026 21:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes lifecycle cleanup in the runtime extensions editor to prevent retained list resources and hover disposables.

Changes:

  • Registers the runtime extensions list for editor disposal.
  • Disposes element-scoped resources when templates are destroyed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants