From 806cb5d856b05bbb6556f294098186a99554b306 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Fri, 17 Mar 2017 19:58:07 +0100 Subject: [PATCH] Fixes #132 --- cps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cps.py b/cps.py index ed939c37..4815a9b2 100755 --- a/cps.py +++ b/cps.py @@ -22,6 +22,7 @@ if __name__ == '__main__': http_server = HTTPServer(WSGIContainer(web.app)) http_server.listen(web.ub.config.config_port) IOLoop.instance().start() + IOLoop.instance().close(True) if web.helper.global_task == 0: web.app.logger.info("Performing restart of Calibre-web")