In development mode, I often have to restart the runserver.
The atexit method, which cleans up the process pool, causes unpredictable behavior on runserver shutdown. I believe that this is because the lazyloader first instantiates the process pool during the atexit callback, during your attempt to terminate that same process pool.
In development mode, I often have to restart the runserver.
The atexit method, which cleans up the process pool, causes unpredictable behavior on runserver shutdown. I believe that this is because the lazyloader first instantiates the process pool during the atexit callback, during your attempt to terminate that same process pool.