From 42e70205975e7347de311fc7d96e5fce49ba0458 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 28 Nov 2017 12:04:27 -0500 Subject: [PATCH] Fixes #217 - status bar blame sticks on editor close --- src/currentLineController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/currentLineController.ts b/src/currentLineController.ts index 8bb0e78..ea8a88c 100644 --- a/src/currentLineController.ts +++ b/src/currentLineController.ts @@ -254,7 +254,7 @@ export class CurrentLineController extends Disposable { async refresh(editor?: TextEditor) { this._currentLine.line = -1; - if (editor === undefined && this._editor !== undefined) return; + if (editor === undefined && this._editor === undefined) return; this.clearAnnotations(this._editor);