mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
This commit is contained in:
1 parent
66a8df749b
commit
636a81e970
1 file changed
+6
@@ -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()
|
||||
|
||||