Hyper-V with nested virtualization is only supported on Windows 10 Anniversary Update or later.

This commit is contained in:
grossmj
2019-03-13 02:15:58 +07:00
parent 3dcb7799e3
commit 010d65114d
2 changed files with 9 additions and 3 deletions

View File

@ -744,8 +744,10 @@ class Project:
os.remove(snapshot.path)
async def close(self, ignore_notification=False):
if self._status == "closed" or self._loading:
log.debug("Closing project '{}' ignored because it is already closed or being loaded".format(self.name))
if self._status == "closed":
return
if self._loading:
log.warning("Closing project '{}' ignored because it is being loaded".format(self.name))
return
await self.stop_all()
for compute in list(self._project_created_on_compute):