Open eigenein opened 8 years ago
Hitting Control+C forcibly stops the bot. If there any user waiting for a response – it will never get it.
Need to do something like that but this doesn't work because of ongoing Redis connection:
asyncio.get_event_loop().run_until_complete(asyncio.gather(*asyncio.Task.all_tasks())) asyncio.get_event_loop().close()
Hitting Control+C forcibly stops the bot. If there any user waiting for a response – it will never get it.
Need to do something like that but this doesn't work because of ongoing Redis connection: