Commit 89161a8d authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Make sure video window is actually destroyed.

parent 6e7aff25
......@@ -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);
......
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