Skip to content

Multifile diff editor leaks models and editor after closing and hiding #228367

Open
@werat

Description

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.93.0 (Universal)
  • OS Version: OS: Darwin arm64 23.6.0

Steps to Reproduce:

  1. Make Refactor Preview appear (e.g. open some file and try some of Refactor... context actions)
  2. Close the preview editor via Discard button
  3. Call vscode.window.visibleTextEditors
  4. It contains the vscode-bulkeditpreview-editor://... editor that corresponds to the Refactor Preview we just closed as well as the file that refactor preview was referencing

Repro and demo:

refactor-preview-zombies.mp4

Activity

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

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesuxUser experience issuesworkspace-edit

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions