Have the WSGI loader call shutdown() on a socket after every request …
…just in case the app spawns a child process that keeps the socket open.
|@@ -124,6 +124,12 @@ def main_loop(self):|
|logging.exception("WSGI application raised an exception!")|
|+ # Shutdown the socket like this just in case the app|
|+ # spawned a child process that keeps it open.|