Make sure to wait for the unload coroutine to finish when the server is shutting down.

This commit is contained in:
Jeremy committed 2015-02-02 17:01:25 -07:00
1 parent df72369b0e
commit 66569f26a4
2 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ class BaseManager:
try:
yield from self.close_vm(uuid)
except Exception as e:
log.warn("Could not delete VM {}: {}".format(uuid, e))
log.error("Could not delete VM {}: {}".format(uuid, e), exc_info=1)
continue
if hasattr(BaseManager, "_instance"):