mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
fix set_result of close_waiter future on polling end
This commit is contained in:
parent
58a8f43e2c
commit
65c87e72f7
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
|
|||
await asyncio.sleep(relax)
|
||||
|
||||
finally:
|
||||
self._close_waiter._set_result(None)
|
||||
self._close_waiter.set_result(None)
|
||||
log.warning('Polling is stopped.')
|
||||
|
||||
async def _process_polling_updates(self, updates, fast: typing.Optional[bool] = True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue