From bdd3f36f6045669154cab17794d08b01e36c6fc7 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 13 Apr 2023 00:48:01 -0400 Subject: [PATCH] Avoids hang with Live Share --- src/container.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/container.ts b/src/container.ts index 7b64e70..c4d163c 100644 --- a/src/container.ts +++ b/src/container.ts @@ -297,7 +297,8 @@ export class Container { this._disposables.push(this._git.register(provider.descriptor.id, provider)); } - await this._git.registrationComplete(); + // Don't wait here otherwise will we deadlock in certain places + void this._git.registrationComplete(); } private onAnyConfigurationChanged(e: ConfigurationChangeEvent) {