mirror of
https://gh-proxy.org/https://github.com/klinsmaya/deer-flow.git
synced 2026-11-08 17:26:58 +08:00
The cleanup() trap kills "next dev" and "next start" but not "next-server". Since "next start" forks a "next-server" child process, killing the parent may leave the child running as a zombie, holding port 3000. The startup teardown block (line 35) already handles this, but the Ctrl+C / SIGTERM trap did not. Co-authored-by: Claude Opus 4.6 <[email protected]> Co-authored-by: Willem Jiang <[email protected]>