mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Make sure to drain notification feed
Ref https://github.com/GNS3/gns3-gui/issues/1447
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -224,6 +224,7 @@ class ProjectHandler:
|
||||
response.write(("{}\n".format(msg)).encode("utf-8"))
|
||||
except asyncio.futures.CancelledError as e:
|
||||
break
|
||||
yield from response.drain()
|
||||
|
||||
if project.auto_close:
|
||||
# To avoid trouble with client connecting disconnecting we sleep few seconds before checking
|
||||
|
||||
Reference in new issue
Block a user