On Tue Oct 18 12:33:27 2022 +0000, Alexandre Julliard wrote:
Ah yeah, I added that because we don't normally expect to return from `__wine_main`. I guess I should change that instead.
That won't help, it will still call exit().
I'm not sure to understand then. Is it different from calling `pthread_exit` on the main thread like we are currently doing? Does pthread_exit wait for the other threads in that case?