mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
quartz: Make sure video window is actually destroyed.
This commit is contained in:
parent
6e7aff2544
commit
89161a8ded
@ -678,7 +678,8 @@ static ULONG WINAPI VideoRendererInner_Release(IUnknown * iface)
|
||||
{
|
||||
IPin *pConnectedTo;
|
||||
|
||||
DestroyWindow(This->hWnd);
|
||||
if (This->hWnd)
|
||||
SendMessageW(This->hWnd, WM_CLOSE, 0, 0);
|
||||
PostThreadMessageA(This->ThreadID, WM_QUIT, 0, 0);
|
||||
WaitForSingleObject(This->hThread, INFINITE);
|
||||
CloseHandle(This->hThread);
|
||||
|
Loading…
Reference in New Issue
Block a user