Skip to content

Commit fe505be

Browse files
authored
fix: synchronous script loading from web workers of extensions (microsoft#235492)
chore: disable plzdedicatedworker feature in the runtime
1 parent 9a5948c commit fe505be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,9 @@ function configureCommandlineSwitchesSync(cliArgs: NativeParsedArgs) {
288288

289289
// Following features are disabled from the runtime:
290290
// `CalculateNativeWinOcclusion` - Disable native window occlusion tracker (https://groups.google.com/a/chromium.org/g/embedder-dev/c/ZF3uHHyWLKw/m/VDN2hDXMAAAJ)
291+
// `PlzDedicatedWorker` - Refs https://github.com/microsoft/vscode/issues/233060#issuecomment-2523212427
291292
const featuresToDisable =
292-
`CalculateNativeWinOcclusion,${app.commandLine.getSwitchValue('disable-features')}`;
293+
`CalculateNativeWinOcclusion,PlzDedicatedWorker,${app.commandLine.getSwitchValue('disable-features')}`;
293294
app.commandLine.appendSwitch('disable-features', featuresToDisable);
294295

295296
// Blink features to configure.

0 commit comments

Comments
 (0)