mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Wait for local compute to be started.
Don't reconnect to local compute when server is being stopped.
This commit is contained in:
1 parent
71725aade6
commit
6b0d0de1bc
3 files changed
+4
-4
No files matched your search
@@ -348,7 +348,7 @@ class Controller:
|
||||
self._computes[compute.id] = compute
|
||||
#self.save()
|
||||
if connect:
|
||||
asyncio.ensure_future(compute.connect())
|
||||
asyncio.get_event_loop().call_later(1, lambda: asyncio.ensure_future(compute.connect()))
|
||||
self.notification.controller_emit("compute.created", compute.__json__())
|
||||
return compute
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user