Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 0f9e713

Browse files
committed
fix(fusuma): don't use Promise.all to close connections
1 parent ce1734d commit 0f9e713

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/fusuma/src/server/dynamicRenderingServer.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ async function dynamicRenderingServer(outputDirPath, publicPath, spinner, isThum
8888
}
8989
}
9090

91-
await Promise.all([page.close(), browser.close(), new Promise((r) => app.close(r))]);
91+
await page.close();
92+
await browser.close();
93+
await new Promise((r) => app.close(r));
9294

9395
return logs;
9496
}

0 commit comments

Comments
 (0)