1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00

Fix a possible deadlock at exit

This commit is contained in:
Julien Duponchelle 2016-10-24 18:02:50 +02:00
parent acd1d95a8e
commit 597e1e618d
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

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