Commit 9abb0b62 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

win32u: Destroy thread windows before calling driver ThreadDetach.

parent d61419d3
......@@ -6201,13 +6201,13 @@ static void thread_detach(void)
{
struct user_thread_info *thread_info = get_user_thread_info();
destroy_thread_windows();
user_driver->pThreadDetach();
free( thread_info->key_state );
thread_info->key_state = 0;
free( thread_info->rawinput );
destroy_thread_windows();
cleanup_imm_thread();
NtClose( thread_info->server_queue );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment