Fix pending tasks not being cancelled on client close#33
Fix pending tasks not being cancelled on client close#33Huguitis wants to merge 9 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. |
|
i might add a system so all events just abort if stuff like closing instead of specifically adding the try/except to individual events, ill look at this again after ive updated rebootpy for the 40.00 changes |
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