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

DestroyWindow() call won't work across threads.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Akihiro Sagawa 2016-02-11 23:03:29 +09:00 committed by Alexandre Julliard
parent ba0e38b175
commit 1fb30e1cab
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ static void test_ImmThreads(void)
ImmReleaseContext(threadinfo.hwnd,otherHimc);
ImmReleaseContext(hwnd,himc);
DestroyWindow(threadinfo.hwnd);
SendMessageA(threadinfo.hwnd, WM_CLOSE, 0, 0);
TerminateThread(hThread, 1);
himc = ImmGetContext(GetDesktopWindow());