diff options
author | Benjamin Pasero <benjamin.pasero@microsoft.com> | 2021-04-06 16:07:50 +0300 |
---|---|---|
committer | Benjamin Pasero <benjamin.pasero@microsoft.com> | 2021-04-06 16:08:52 +0300 |
commit | f250472adc449427b8b06ea77f23d780c982a40a (patch) | |
tree | a9e537deb207cf8c36a8a6c5a294596fa7614c61 /src/vs/workbench/contrib/extensions/common | |
parent | ee4b092ef2a1eefd89d62bcd50d9452c5935f266 (diff) |
lifecycle - onShutdown => onDidShutdown
Diffstat (limited to 'src/vs/workbench/contrib/extensions/common')
-rw-r--r-- | src/vs/workbench/contrib/extensions/common/extensionsUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts b/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts index 7887fc066ba..6c4be2b7e8a 100644 --- a/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts +++ b/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts @@ -34,7 +34,7 @@ export class KeymapExtensions extends Disposable implements IWorkbenchContributi @ITelemetryService private readonly telemetryService: ITelemetryService, ) { super(); - this._register(lifecycleService.onShutdown(() => this.dispose())); + this._register(lifecycleService.onDidShutdown(() => this.dispose())); this._register(instantiationService.invokeFunction(onExtensionChanged)((identifiers => { Promise.all(identifiers.map(identifier => this.checkForOtherKeymaps(identifier))) .then(undefined, onUnexpectedError); |