Dmitry Timoshkov dmitry@baikal.ru writes:
Currently user32 doesn't destroy windows on exit of a single-threaded process since it doesn't receive DLL_THREAD_DETACH notification.
Changelog: Dmitry Timoshkov dmitry@codeweavers.com Destroy thread windows also on process exit, this allows a correct clean up for single-threaded applications.
I don't see how that would make a difference since we don't send messages to an exiting thread anywyay. Do you have a case where this is needed, or is it just a theoretical concern?
"Alexandre Julliard" julliard@winehq.org wrote:
I don't see how that would make a difference since we don't send messages to an exiting thread anywyay. Do you have a case where this is needed, or is it just a theoretical concern?
The bug was spotted by metafile test, and this patch fixes the issue as well if you comment out a newly added DestroyWindow in metafile.c.