mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Merge pull request #19872 from glayzzle/master
fix: dispose the this.documentListener
This commit is contained in:
commit
042662748e
|
@ -121,6 +121,10 @@ export default class PHPValidationProvider {
|
|||
public dispose(): void {
|
||||
this.diagnosticCollection.clear();
|
||||
this.diagnosticCollection.dispose();
|
||||
if (this.documentListener) {
|
||||
this.documentListener.dispose();
|
||||
this.documentListener = null;
|
||||
}
|
||||
}
|
||||
|
||||
private loadConfiguration(): void {
|
||||
|
|
Loading…
Reference in a new issue