Clear auto closing tag timeout

This should already be effectively canceled but no reason to fire it
This commit is contained in:
Matt Bierner
2018-07-11 08:18:17 -07:00
parent 19f25e4801
commit 1dcb248d30

View File

@@ -30,7 +30,10 @@ class TagClosing {
public dispose() {
disposeAll(this.disposables);
this._disposed = true;
this.timeout = undefined;
if (this.timeout) {
clearTimeout(this.timeout);
this.timeout = undefined;
}
}
private onDidChangeTextDocument(