mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
fix #207449
This commit is contained in:
parent
d42fad27b2
commit
4f446cf856
|
@ -70,7 +70,7 @@ export class TaskStatusBarContributions extends Disposable implements IWorkbench
|
||||||
private _registerListeners(): void {
|
private _registerListeners(): void {
|
||||||
let promise: Promise<void> | undefined = undefined;
|
let promise: Promise<void> | undefined = undefined;
|
||||||
let resolve: (value?: void | Thenable<void>) => void;
|
let resolve: (value?: void | Thenable<void>) => void;
|
||||||
this._taskService.onDidStateChange(event => {
|
this._register(this._taskService.onDidStateChange(event => {
|
||||||
if (event.kind === TaskEventKind.Changed) {
|
if (event.kind === TaskEventKind.Changed) {
|
||||||
this._updateRunningTasksStatus();
|
this._updateRunningTasksStatus();
|
||||||
}
|
}
|
||||||
|
@ -116,7 +116,7 @@ export class TaskStatusBarContributions extends Disposable implements IWorkbench
|
||||||
promise = undefined;
|
promise = undefined;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
private async _updateRunningTasksStatus(): Promise<void> {
|
private async _updateRunningTasksStatus(): Promise<void> {
|
||||||
|
|
Loading…
Reference in a new issue