Fix pending tasks not being cancelled on client close#33
Fix pending tasks not being cancelled on client close#33Huguitis wants to merge 5 commits intoxMistt:mainfrom
Conversation
|
Still working on a proper fix for this error before it is merged:
|
|
I've tested all the changes and they seem to be working correctly. |
When a client shuts down, any background tasks that were waiting for the client to be ready would get stuck forever, they'd never unblock because the shutdown wasn't waking them up. Python would then forcefully destroy them and log a flood of "Task was destroyed but it is pending!" warnings