EthernetSwitch closing connections, Ref: gui/#2330

This commit is contained in:
ziajka committed 2017-11-20 13:51:07 +01:00
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