diff options
Diffstat (limited to 'src/vs/workbench/services/lifecycle/browser/lifecycleService.ts')
-rw-r--r-- | src/vs/workbench/services/lifecycle/browser/lifecycleService.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vs/workbench/services/lifecycle/browser/lifecycleService.ts b/src/vs/workbench/services/lifecycle/browser/lifecycleService.ts index 6915f6f035d..96c7fcbff3f 100644 --- a/src/vs/workbench/services/lifecycle/browser/lifecycleService.ts +++ b/src/vs/workbench/services/lifecycle/browser/lifecycleService.ts @@ -168,9 +168,10 @@ export class BrowserLifecycleService extends AbstractLifecycleService { const logService = this.logService; this._onWillShutdown.fire({ reason: ShutdownReason.QUIT, - token: CancellationToken.None, // Unsupported in web - join(promise, id) { - logService.error(`[lifecycle] Long running operations during shutdown are unsupported in the web (id: ${id})`); + joiners: () => [], // Unsupported in web + token: CancellationToken.None, // Unsupported in web + join(promise, joiner) { + logService.error(`[lifecycle] Long running operations during shutdown are unsupported in the web (id: ${joiner.id})`); }, force: () => { /* No-Op in web */ }, }); |