ops this queue cannot be cleared
This commit is contained in:
parent
a4dd9c5672
commit
5705cb4231
1 changed files with 0 additions and 1 deletions
|
@ -133,7 +133,6 @@ class Dispatcher:
|
||||||
|
|
||||||
async def disconnect(self, block:bool=True):
|
async def disconnect(self, block:bool=True):
|
||||||
self._dispatching = False
|
self._dispatching = False
|
||||||
self._outgoing.clear()
|
|
||||||
if block and self._writer and self._reader:
|
if block and self._writer and self._reader:
|
||||||
await asyncio.gather(self._writer, self._reader)
|
await asyncio.gather(self._writer, self._reader)
|
||||||
self._logger.debug("Net workers stopped")
|
self._logger.debug("Net workers stopped")
|
||||||
|
|
Loading…
Reference in a new issue