Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure workers are not left open (#34503)
This fixes #33615. If an App uses `getInitialProps`, the build function never enters [this conditional block](https://github.com/vercel/next.js/blob/a52bd712fe797b59cfd05ceaa4c33096a0c346ff/packages/next/build/index.ts#L1481-L1484) and the static worker is left open.
- Loading branch information