Memory leak in settings editor #216649
Labels
bug
Issue identified by VS Code Team member as probable bug
settings-editor
VS Code settings editor issues
Milestone
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
SettingsEditor2Input
andSettings2EditorModel
grows by 1 each time, for example, opening and closing the settings editor 197 times, increases the number ofSettingsEditor2Input
andSettings2EditorModel
by 197:Test script
Additional Information
In addition to
SettingsEditor2Input
andSettings2EditorModel
, the number ofURI
instances increases also by 197 which seems to be the URI from https://github.com/microsoft/vscode/blob/main/src/vs/workbench/services/preferences/common/preferencesEditorInput.ts#L24-L27:The
SettingsEditor2Input
is created in https://github.com/microsoft/vscode/blob/main/src/vs/workbench/services/preferences/browser/preferencesService.ts#L108:which then passed to the
openEditor
function:The text was updated successfully, but these errors were encountered: