On Thu Dec 8 11:17:33 2022 +0000, Rémi Bernon wrote:
Immediately after this call (though after checking hr) you need to wait on the `bool_async_handler.event` to make sure the operation has completed. Otherwise all the checks below will be racy. Note that you will likely need to move the event creation before the call (and close the handle for cleanup, after the wait), because `bool_async_handler = default_bool_async_handler` will otherwise overwrite the event member.
I had to increase the timeout to 5000 ms because neither 1000 nor 2000 ms were enough for the operation to complete, specifically for the `tmp_handler == NULL` check on line 301. It was failing randomly on the testbot VMs, 1 time on w10pro64_zh_CN and another on w10pro64_ja.
- w10pro64_ja: https://testbot.winehq.org/JobDetails.pl?Key=127445 - w10pro64_zh_CN: https://testbot.winehq.org/JobDetails.pl?Key=127443