[PATCH 2/3] user32: Destroy window server objects from destroy_thread_windows.

Jacek Caban jacek at codeweavers.com
Thu Feb 10 07:59:09 CST 2022


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
This ensures that handle validity is consistent between user32 and 
server. Without this patch, during the time between 
destroy_thread_windows() and server noticing that the thread is actually 
destroyed, the state is inconsistent.

  dlls/user32/win.c | 9 +++++++++
  server/window.c   | 9 +++++++--
  2 files changed, 16 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-user32-Destroy-window-server-objects-from-destroy_thre.txt
Type: text/x-patch
Size: 1176 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220210/1ee9ddaf/attachment.bin>


More information about the wine-devel mailing list