Aug. 6, 2026
9:49 p.m.
Closing this MR in favor of a new one opened from the fork's master branch after CI validation. The fix has been reworked: the finalization-callback wrapper is now only installed for work items that actually have a finalization callback (fixing a use-after-free for plain pool items), the wait event is reset before waiting (fixing a stale-signal race), the wait was moved out of the global queues lock, and the root-cause analysis was corrected (CloseThreadpoolCleanupGroupMembers in Wine does wait for finalization callbacks; the race is with target queues that outlive the serial queue). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11605#note_148239