提交 56dd8943 编写于 作者: J Johannes Rieken

fix #59216

上级 f95e3e3b
......@@ -308,9 +308,9 @@ export async function main(argv: string[]): Promise<any> {
try {
// load and start profiler
const main = await Profiler.start('main', filenamePrefix, { port: portMain });
const extHost = await Profiler.start('extHost', filenamePrefix, { port: portExthost, tries: 300 });
const renderer = await Profiler.start('renderer', filenamePrefix, {
const mainProfileRequest = Profiler.start('main', filenamePrefix, { port: portMain });
const extHostProfileRequest = Profiler.start('extHost', filenamePrefix, { port: portExthost, tries: 300 });
const rendererProfileRequest = Profiler.start('renderer', filenamePrefix, {
port: portRenderer,
tries: 200,
chooseTab: function (targets) {
......@@ -327,6 +327,10 @@ export async function main(argv: string[]): Promise<any> {
}
});
const main = await mainProfileRequest;
const extHost = await extHostProfileRequest;
const renderer = await rendererProfileRequest;
// wait for the renderer to delete the
// marker file
await whenDeleted(filenamePrefix);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册