瀏覽代碼

Fixes #274 - TextEditor is closed/disposed

main
Eric Amodio 6 年之前
父節點
當前提交
e041383cd8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/currentLineController.ts

+ 1
- 0
src/currentLineController.ts 查看文件

@ -364,6 +364,7 @@ export class CurrentLineController extends Disposable {
private clearAnnotations(editor: TextEditor | undefined) {
if (editor === undefined) return;
if ((editor as any)._disposed === true) return;
editor.setDecorations(annotationDecoration, []);
}

Loading…
取消
儲存