소스 검색

now shutting down the server properly

digital 7 년 전
부모
커밋
8fa53d5620
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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