next-banner icon indicating copy to clipboard operation
next-banner copied to clipboard

bug: next server does not shut down correctly

Open konstantinmuenster opened this issue 1 year ago • 1 comments

When I run next-banner locally, it seems like the server is not correctly shut down. When I run it again, it starts another server on port 3001 and I still see the old node process (for port 3000) in my activity monitoring.

https://user-images.githubusercontent.com/46243719/181078795-a25fd177-eeca-4dfe-9251-bb14d3760759.mp4

Don't know if this is a general issue or specific to me?

konstantinmuenster avatar Jul 26 '22 18:07 konstantinmuenster

I just noticed this myself recently too. My theory is that something changed with the threading model in Next.js. On my end it's just a child process and it seems unlikely that changed. I tried to debug for a few hours recently and was not able to shut it down (tried about five new ways), but I will give it a try again soon.

alvarlagerlof avatar Jul 27 '22 03:07 alvarlagerlof