Prevent multiple projects with the same ID to be created.

This commit is contained in:
Jeremy
2015-02-25 16:05:57 -07:00
parent 349d9d4540
commit 54fc873be5
10 changed files with 61 additions and 27 deletions

View File

@ -647,6 +647,7 @@ class QemuVM(BaseVM):
@asyncio.coroutine
def close(self):
log.debug('QEMU VM "{name}" [{id}] is closing'.format(name=self._name, id=self._id))
yield from self.stop()
if self._console:
self._manager.port_manager.release_tcp_port(self._console)