[+] SIGINT says 'bye!'

pull/143/head
ZetGo | Aleksej K. 2025-06-06 13:33:59 +06:00 committed by GitHub
parent 7b334304cd
commit ef20841551
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -988,6 +988,7 @@ class Heroku:
for task in asyncio.all_tasks():
if task is not asyncio.current_task():
task.cancel()
logging.info("Bye!")
self.loop.stop()
def main(self):