mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 11:44:05 +08:00
When destroying a `piscina` package worker pool, the minimum workers must be set to 0 first to prevent the recreation of the minimum number of workers. These workers would then be cleaned up once the worker pool goes out of scope but the recreation and initialization of each worker is unneeded processing that should be avoided.