mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Merged #336
This commit is contained in:
parent
30381dbcef
commit
047f55b3b7
|
@ -152,7 +152,7 @@ export default class PHPValidationProvider {
|
|||
let delayer = this.delayers[key];
|
||||
if (!delayer) {
|
||||
delayer = new ThrottledDelayer<void>(this.trigger === RunTrigger.onType ? 250 : 0);
|
||||
this.delayers[key];
|
||||
this.delayers[key] = delayer;
|
||||
}
|
||||
delayer.trigger(() => this.doValidate(textDocument) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue