mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Destroy domain before cleaning it up.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
aee5de2dd5
commit
1e14a86e33
1 file changed
+1
-1
@@ -796,8 +796,8 @@ class XendDomainInfo:
|
||||
def destroy(self):
|
||||
"""Clenup vm and destroy domain.
|
||||
"""
|
||||
self.cleanup()
|
||||
self.destroy_domain()
|
||||
self.cleanup()
|
||||
self.saveToDB()
|
||||
return 0
|
||||
|
||||
|
||||