1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Prevent a crash when you close a dynamips node and create a link at the same time

Fix #853
This commit is contained in:
Julien Duponchelle 2017-01-06 09:33:10 +01:00
parent d4be588973
commit 6778b29fc0
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -49,7 +49,8 @@ class NIOUDP(NIO):
@asyncio.coroutine
def create(self):
if not self._hypervisor:
return
yield from self._hypervisor.send("nio create_udp {name} {lport} {rhost} {rport}".format(name=self._name,
lport=self._lport,
rhost=self._rhost,