ソースを参照

Fixes #274 - TextEditor is closed/disposed

main
Eric Amodio 7年前
コミット
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, []);
}

読み込み中…
キャンセル
保存