You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self._reader_task is being set to None and then given to the asyncio.gather().
This obviously raises an exception:
File "..\venv\lib\site-packages\aiormq\connection.py", line 445, in _on_close
await asyncio.gather(self._reader_task, return_exceptions=True)
File "..\lib\asyncio\tasks.py", line 806, in gather
fut = ensure_future(arg, loop=loop)
File "..\lib\asyncio\tasks.py", line 673, in ensure_future
raise TypeError('An asyncio.Future, a coroutine or an awaitable is '
TypeError: An asyncio.Future, a coroutine or an awaitable is required
Here https://github.com/mosquito/aiormq/blob/master/aiormq/connection.py#L439
... is this snippet of code:
self._reader_task
is being set toNone
and then given to theasyncio.gather()
.This obviously raises an exception:
... which is usually conviniently and silently suppressed here: https://github.com/mosquito/aiormq/blob/master/aiormq/base.py#L139
The text was updated successfully, but these errors were encountered: