Forráskód Böngészése

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

Chris McDonough 19 éve
szülő
commit
a2ce8b69af
1 módosított fájl, 1 hozzáadás és 0 törlés
  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