On Sun Sep 4 22:46:50 2022 +0000, Santino Mazza wrote:
changed this line in [version 3 of the diff](/wine/wine/-/merge_requests/766/diffs?diff_id=9756&start_sha=e6cad6f4afc94d5c30d985ad2dcf9b269e1a2dd1#e58df5d55b7ec627678745bc876541397c298566_1615_1614)
Looks like one needs to wait a little before deleting the files. I'd suggest adding a loop around the `DeleteFile()` in `delete_temp_folder()` with a `Sleep(100)` if the `DeleteFile()` call fails and a limit of say ten attempts.