https://bugs.winehq.org/show_bug.cgi?id=36662
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Sebastian Lackner from comment #1)
Created attachment 49347 [details] ws2_32/tests: Enter alertable state to ensure memory is released.
The attached patch should fix the last issue (the definite leak). The problem is that the thread never enters an alertable state after the APC_USER callback has been queued.
Works here, thanks.