mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
EthernetSwitch closing connections, Ref: gui/#2330
This commit is contained in:
1 parent
7c90c513d0
commit
96a0b52cf8
2 files changed
+8
-2
No files matched your search
@@ -209,6 +209,11 @@ class AsyncioTelnetServer:
|
||||
yield from connection.disconnected()
|
||||
del self._connections[network_writer]
|
||||
|
||||
@asyncio.coroutine
|
||||
def close(self):
|
||||
for writer, connection in self._connections.items():
|
||||
connection.close()
|
||||
|
||||
@asyncio.coroutine
|
||||
def client_connected_hook(self):
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user