April 8, 2026
12:43 p.m.
v2, add the test in `test_events()` to avoid seeking. While creating the test, I found that the completion event handle `hEventCompletion` is not closed on destruction. In addition, `WaitForCompletion` does not behave correctly when `CancelDefaultHandling(EC_COMPLETE)` has been called beforehand. I've addressed the first issue in this MR, and I will submit a follow‑up MR for the second. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10458#note_135493