mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Fixed RethinkDBStorage.
This commit is contained in:
parent
272322ab38
commit
5ed2b35eed
2 changed files with 4 additions and 3 deletions
|
|
@ -232,7 +232,8 @@ class Executor:
|
|||
loop.create_task(self.dispatcher.start_polling(reset_webhook=reset_webhook))
|
||||
loop.run_forever()
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
loop.stop()
|
||||
# loop.stop()
|
||||
pass
|
||||
finally:
|
||||
loop.run_until_complete(self._shutdown_polling())
|
||||
log.warning("Goodbye!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue