Skip to content

Commit

Permalink
Do not auto start the local web worker extension host (#184137)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Jun 2, 2023
1 parent cfa6986 commit b465f0b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,12 @@ class BrowserExtensionHostFactory implements IExtensionHostFactory {
return null;
}
case ExtensionHostKind.LocalWebWorker: {
return this._instantiationService.createInstance(WebWorkerExtensionHost, runningLocation, ExtensionHostStartup.EagerAutoStart, this._createLocalExtensionHostDataProvider(runningLocations, runningLocation, isInitialStart));
const startup = (
isInitialStart
? ExtensionHostStartup.EagerManualStart
: ExtensionHostStartup.EagerAutoStart
);
return this._instantiationService.createInstance(WebWorkerExtensionHost, runningLocation, startup, this._createLocalExtensionHostDataProvider(runningLocations, runningLocation, isInitialStart));
}
case ExtensionHostKind.Remote: {
const remoteAgentConnection = this._remoteAgentService.getConnection();
Expand Down

0 comments on commit b465f0b

Please sign in to comment.