X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/9dd8549018d758eccc9768afb4049de2945d2616..47b9cb0d87524e6598da025f3c49cd013f00606b:/code/invirt.fcgi?ds=sidebyside diff --git a/code/invirt.fcgi b/code/invirt.fcgi index 7d6dc9c..ded6b68 100755 --- a/code/invirt.fcgi +++ b/code/invirt.fcgi @@ -64,6 +64,7 @@ if __name__ == "__main__": cherrypy.engine.start() cherrypy.engine.block() else: + cherrypy.server.unsubscribe() try: # Case that cherrypy < 3.1.0 cherrypy.engine.start(blocking=False)