ia64/xen-unstable

changeset 5352:3917e69c7587

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>
author cl349@firebug.cl.cam.ac.uk
date Mon Jun 06 20:28:33 2005 +0000 (2005-06-06)
parents 6ffbb7f12940
children 9ea2524b7d10
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Mon Jun 06 20:18:09 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Mon Jun 06 20:28:33 2005 +0000
     1.3 @@ -577,6 +577,12 @@ class XendDomainInfo:
     1.4                  self.channel = None
     1.5              except:
     1.6                  pass
     1.7 +        if self.store_channel:
     1.8 +            try:
     1.9 +                self.store_channel.close()
    1.10 +                self.store_channel = None
    1.11 +            except:
    1.12 +                pass
    1.13          if self.image:
    1.14              try:
    1.15                  self.image.destroy()