Explorar o código

now shutting down the server properly

digital %!s(int64=7) %!d(string=hai) anos
pai
achega
8fa53d5620
Modificáronse 1 ficheiros con 1 adicións e 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