提交 42e21c2e 编写于 作者: B Benjamin Pasero

electron - configure to disable LayoutNG (workaround for #88873)

上级 d8e7eb36
......@@ -82,7 +82,7 @@ app.once('ready', function () {
traceOptions: args['trace-options'] || 'record-until-full,enable-sampling'
};
contentTracing.startRecording(traceOptions, () => onReady());
contentTracing.startRecording(traceOptions).finally(() => onReady());
} else {
onReady();
}
......@@ -162,6 +162,9 @@ function configureCommandlineSwitchesSync(cliArgs) {
app.commandLine.appendSwitch('js-flags', jsFlags);
}
// TODO@Ben TODO@Deepak Electron 7 workaround for https://github.com/microsoft/vscode/issues/88873
app.commandLine.appendSwitch('disable-features', 'LayoutNG');
return argvConfig;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册