mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Also set documentListener to null after dispose - #19872
This commit is contained in:
parent
042662748e
commit
134a02610a
|
@ -154,6 +154,7 @@ export default class PHPValidationProvider {
|
||||||
}
|
}
|
||||||
if (this.documentListener) {
|
if (this.documentListener) {
|
||||||
this.documentListener.dispose();
|
this.documentListener.dispose();
|
||||||
|
this.documentListener = null;
|
||||||
}
|
}
|
||||||
this.diagnosticCollection.clear();
|
this.diagnosticCollection.clear();
|
||||||
if (this.validationEnabled) {
|
if (this.validationEnabled) {
|
||||||
|
|
Loading…
Reference in a new issue