Set disposed marker line to -1

Another indicator that it's disposed/invalid
This commit is contained in:
Daniel
2019-10-25 04:04:17 -07:00
parent 080188c468
commit 67e5974eee
+1
View File
@@ -29,6 +29,7 @@ export class Marker extends Disposable implements IMarker {
return;
}
this.isDisposed = true;
this.line = -1;
// Emit before super.dispose such that dispose listeners get a change to react
this._onDispose.fire();
}