Make github-authentication a UI extension again

This commit is contained in:
Rachel Macfarlane
2020-08-24 18:43:59 -07:00
parent 6be16f9a16
commit 8871a28963
7 changed files with 35 additions and 11 deletions

View File

@@ -686,7 +686,11 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
return this._startExtensionHost();
}
public $activateByEvent(activationEvent: string): Promise<void> {
public $activateByEvent(activationEvent: string, eager: boolean = true): Promise<void> {
if (eager) {
return this._activateByEvent(activationEvent, false);
}
return (
this._readyToRunExtensions.wait()
.then(_ => this._activateByEvent(activationEvent, false))