File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/tasks/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export class TaskStatusBarContributions extends Disposable implements IWorkbench
70
70
private _registerListeners ( ) : void {
71
71
let promise : Promise < void > | undefined = undefined ;
72
72
let resolve : ( value ?: void | Thenable < void > ) => void ;
73
- this . _taskService . onDidStateChange ( event => {
73
+ this . _register ( this . _taskService . onDidStateChange ( event => {
74
74
if ( event . kind === TaskEventKind . Changed ) {
75
75
this . _updateRunningTasksStatus ( ) ;
76
76
}
@@ -116,7 +116,7 @@ export class TaskStatusBarContributions extends Disposable implements IWorkbench
116
116
promise = undefined ;
117
117
} ) ;
118
118
}
119
- } ) ;
119
+ } ) ) ;
120
120
}
121
121
122
122
private async _updateRunningTasksStatus ( ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments