17 Aug
2022
17 Aug
'22
1:53 p.m.
On Thu Aug 11 19:51:10 2022 +0000, Piotr Caban wrote:
I have tested _StructuredTaskCollection behavior on Context destroy, here are some thoughts: - the _StructuredTaskCollection is not canceled - destructor is not waiting for chores to finish - there's no crash if Context is destroyed while tasks are running/scheduled to run - when context is reused old tasks are gone I think, that in order to implement it correctly, tasks queue needs to be moved to scheduler. On _Context destroy, all tasks created by the context should be removed from the list. Alright, the latest push should cover all those points.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/464#note_6415