Bug #884534: nova-ajax-console-proxy crashes on shutdown

Close the correct connection, when shutting down.  self is not defined in
this context.

Change-Id: I0dc84a1c7de468a381f5765ccba589acbc8173dd
This commit is contained in:
Ewan Mellor
2011-10-31 17:33:47 -07:00
parent dd5def9237
commit 15a3c907dc

View File

@@ -141,4 +141,4 @@ if __name__ == '__main__':
server = wsgi.Server("AJAX Console Proxy", acp, port=acp_port)
service.serve(server)
service.wait()
self.conn.close()
acp.conn.close()