Skip to content

Commit 42e7020

Browse files
committed
Fixes #217 - status bar blame sticks on editor close
1 parent dbdc4cc commit 42e7020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/currentLineController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export class CurrentLineController extends Disposable {
254254
async refresh(editor?: TextEditor) {
255255
this._currentLine.line = -1;
256256

257-
if (editor === undefined && this._editor !== undefined) return;
257+
if (editor === undefined && this._editor === undefined) return;
258258

259259
this.clearAnnotations(this._editor);
260260

0 commit comments

Comments
 (0)