Skip to content

Commit 7df05a7

Browse files
committed
1 parent 4f446cf commit 7df05a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
337337
}
338338
return task._label;
339339
});
340-
this._lifecycleService.onBeforeShutdown(e => {
340+
this._register(this._lifecycleService.onBeforeShutdown(e => {
341341
this._willRestart = e.reason !== ShutdownReason.RELOAD;
342-
});
342+
}));
343343
this._register(this.onDidStateChange(e => {
344344
this._log(nls.localize('taskEvent', 'Task Event kind: {0}', e.kind), true);
345345
if (e.kind === TaskEventKind.Changed) {

0 commit comments

Comments
 (0)