We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad75077 commit a760a14Copy full SHA for a760a14
packages/app/src/app/overmind/effects/vscode/ModelsHandler.ts
@@ -431,8 +431,10 @@ export class ModelsHandler {
431
);
432
this.userSelectionDecorations[decorationId].push(decoration);
433
this.nameTagTimeouts[decorationId] = window.setTimeout(() => {
434
- // And now hide the nametag after 1.5s
435
- model.deltaDecorations([decoration], []);
+ if (!model.isDisposed()) {
+ // And now hide the nametag after 1.5s
436
+ model.deltaDecorations([decoration], []);
437
+ }
438
}, 1500);
439
}
440
});
0 commit comments