Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jan 27, 2025
1 parent 6979595 commit 49fd61b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docusaurus/src/ssg/ssgWorkerThread.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export default async function executeSSGWorkerThreadTask(
() => appRenderer.renderPathnames(task.pathnames),
);

// TODO do not shutdown for every single render task
// Afaik it's not needed to shutdown here,
// The thread pool destroys worker thread and releases worker thread memory
// await appRenderer.shutdown();

return ssgResults;
Expand Down

0 comments on commit 49fd61b

Please sign in to comment.