Skip to content

Commit c0cd9a9

Browse files
authored
Merge pull request microsoft#263136 from SimonSiefke/fix/codelens2
fix: memory leak in codelens controller
2 parents a63acf5 + 7b8969d commit c0cd9a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/editor/contrib/codelens/browser/codelensController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ export class CodeLensContribution implements IEditorContribution {
395395
});
396396

397397
if (toResolve.length === 0) {
398+
this._oldCodeLensModels.clear();
398399
return;
399400
}
400401

0 commit comments

Comments
 (0)