X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/9dd8549018d758eccc9768afb4049de2945d2616..bb8095c7f6e9f57d9854188e4fbb12efb70dbf0b:/code/invirt.fcgi 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)