diff options
author | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-06-06 20:28:33 +0000 |
---|---|---|
committer | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-06-06 20:28:33 +0000 |
commit | 636a81e9701d001f4c9108f722014f48f59eabbd (patch) | |
tree | a2cacb4a10d134b70466120f76d81d3ab4ae463d | |
parent | 66a8df749b23aadce9a74495c61b301c64f343d7 (diff) | |
download | xen-636a81e9701d001f4c9108f722014f48f59eabbd.tar.gz xen-636a81e9701d001f4c9108f722014f48f59eabbd.tar.bz2 xen-636a81e9701d001f4c9108f722014f48f59eabbd.zip |
bitkeeper revision 1.1662.1.14 (42a4b1f1ZyB5X1YlXHuUGf5X8C-gvQ)
XendDomainInfo.py:
Cleanup store channel.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
-rw-r--r-- | tools/python/xen/xend/XendDomainInfo.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index fc03dbf048..97d6dbbf31 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -577,6 +577,12 @@ class XendDomainInfo: self.channel = None except: pass + if self.store_channel: + try: + self.store_channel.close() + self.store_channel = None + except: + pass if self.image: try: self.image.destroy() |