summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEwan Mellor <ewan.mellor@citrix.com>2011-10-31 17:33:47 -0700
committerEwan Mellor <ewan.mellor@citrix.com>2011-10-31 17:33:47 -0700
commit826888de038d5ba58c133c5fa1471ec9bfe0f52d (patch)
treeb93e396a6108eee7f450b2cb4e55f7c86068dd2c
parente7ac69a6ed89567515742844d8f667becd5d69e7 (diff)
downloadnova-826888de038d5ba58c133c5fa1471ec9bfe0f52d.tar.gz
nova-826888de038d5ba58c133c5fa1471ec9bfe0f52d.tar.xz
nova-826888de038d5ba58c133c5fa1471ec9bfe0f52d.zip
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
-rwxr-xr-xbin/nova-ajax-console-proxy2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-ajax-console-proxy b/bin/nova-ajax-console-proxy
index 23fb42fb5..4770a8a7e 100755
--- a/bin/nova-ajax-console-proxy
+++ b/bin/nova-ajax-console-proxy
@@ -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()