Explorar o código

Clear the handler so we don't just add producers to the socket map without clearing them.

Chris McDonough %!s(int64=19) %!d(string=hai) anos
pai
achega
a2ce8b69af
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/supervisor/supervisorctl.py

+ 1 - 0
src/supervisor/supervisorctl.py

@@ -162,6 +162,7 @@ class Controller(cmd.Cmd):
             handler.get(url)
             asyncore.loop()
         except KeyboardInterrupt:
+            handler.close()
             self._output('')
             return