Explorar el Código

now shutting down the server properly

digital hace 7 años
padre
commit
8fa53d5620
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      server.py

+ 1 - 0
server.py

@@ -137,6 +137,7 @@ except KeyboardInterrupt:
     print("\r    ", end="\r")
     logging.warn("KeyboardInterrupt! aborting!")
 finally:
+    bee_server.shutdown()
     sig_exit.send()
     log.info("have a good time :)")
     pass