Prevent a dead lock when closing server

This commit is contained in:
Julien Duponchelle committed 2016-09-29 14:40:39 +02:00
1 parent cfd74a8164
commit 8f6d24ae5e
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ class Controller:
try:
yield from compute.close()
# We don't care if a compute is down at this step
except aiohttp.errors.ClientOSError:
except (aiohttp.errors.ClientOSError, aiohttp.web_exceptions.HTTPError):
pass
yield from self.gns3vm.exit_vm()
self._computes = {}