Skip to content

dirtyDiffDecorator: reference leak #98134

@bpasero

Description

@bpasero

Check out:

return this.textModelResolverService.createModelReference(originalUri).then(ref => {

There is an early return without disposing the reference. You always need to dispose the reference, otherwise the model will leak forever.

Metadata

Metadata

Assignees

Labels

freeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions