Browse Source

now shutting down the server properly

digital 7 years ago
parent
commit
8fa53d5620
1 changed files with 1 additions and 0 deletions
  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