Commit 1fb30e1c authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

imm32/tests: Use WM_CLOSE instead of DestroyWindow().

DestroyWindow() call won't work across threads. Signed-off-by: 's avatarAkihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: 's avatarAric Stewart <aric@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent ba0e38b1
...@@ -639,7 +639,7 @@ static void test_ImmThreads(void) ...@@ -639,7 +639,7 @@ static void test_ImmThreads(void)
ImmReleaseContext(threadinfo.hwnd,otherHimc); ImmReleaseContext(threadinfo.hwnd,otherHimc);
ImmReleaseContext(hwnd,himc); ImmReleaseContext(hwnd,himc);
DestroyWindow(threadinfo.hwnd); SendMessageA(threadinfo.hwnd, WM_CLOSE, 0, 0);
TerminateThread(hThread, 1); TerminateThread(hThread, 1);
himc = ImmGetContext(GetDesktopWindow()); himc = ImmGetContext(GetDesktopWindow());
......
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