From 5705cb4231f47d34b62c483e472d38fa2d6493db Mon Sep 17 00:00:00 2001 From: alemidev Date: Sat, 27 Nov 2021 21:08:41 +0100 Subject: [PATCH] ops this queue cannot be cleared --- aiocraft/dispatcher.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aiocraft/dispatcher.py b/aiocraft/dispatcher.py index 4006a50..37e6d23 100644 --- a/aiocraft/dispatcher.py +++ b/aiocraft/dispatcher.py @@ -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")