forked from Mirrors/wine-wine
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
parent
ba0e38b175
commit
1fb30e1cab
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue