mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 08:48:11 +00:00
parent
01e2fcf225
commit
1123047404
@ -359,8 +359,8 @@ class DockerVM(BaseVM):
|
|||||||
if nio and isinstance(nio, NIOUDP):
|
if nio and isinstance(nio, NIOUDP):
|
||||||
self.manager.port_manager.release_udp_port(nio.lport, self._project)
|
self.manager.port_manager.release_udp_port(nio.lport, self._project)
|
||||||
# Ignore runtime error because when closing the server
|
# Ignore runtime error because when closing the server
|
||||||
except RuntimeError as e:
|
except (DockerHttp404Error, RuntimeError) as e:
|
||||||
log.debug("Docker runtime error when closing: {}".format(str(e)))
|
log.debug("Docker error when closing: {}".format(str(e)))
|
||||||
return
|
return
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
|
Loading…
Reference in New Issue
Block a user