Re: Destroy thread windows also on process exit
Dmitry Timoshkov <dmitry(a)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(a)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(a)winehq.org
"Alexandre Julliard" <julliard(a)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. -- Dmitry.
participants (2)
-
Alexandre Julliard -
Dmitry Timoshkov