You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(@angular/build): fix memory leak in ng serve with i18n
When running `ng serve` with i18n configured, every file save (.html files) triggers a rebuild that creates a new piscina `ThreadPool` for `i18n-inline-worker.js`. Old pools and their worker threads were not properly cleaned up because the inliner was closed prematurely, causing unbounded memory growth.
This commit ensures that the inliner is kept open while processing template updates, resolving the issue where orphaned threads were created.
Closesangular#32584
(cherry picked from commit 9d167ca)
0 commit comments