[Fixed]-Quit Django dev server but process doesn't stop


Django development server have multiple threads, so when closing main process, there might be some running threads in background. It happens when there is some request being processed (some long-term request can hang or if you’re using websockets or something, connection might prevent closing thread).

Check if all of your requests are properly closed before closing your server and it should shut down properly.

Leave a comment