ops this queue cannot be cleared

This commit is contained in:
əlemi 2021-11-27 21:08:41 +01:00
parent a4dd9c5672
commit 5705cb4231

View file

@ -133,7 +133,6 @@ class Dispatcher:
async def disconnect(self, block:bool=True):
self._dispatching = False
self._outgoing.clear()
if block and self._writer and self._reader:
await asyncio.gather(self._writer, self._reader)
self._logger.debug("Net workers stopped")