browseui: Fix handle leak.
This commit is contained in:
parent
4b56ff7238
commit
160945e217
|
@ -324,6 +324,7 @@ static HRESULT WINAPI ProgressDialog_StartProgressDialog(IProgressDialog *iface,
|
|||
hThread = CreateThread(NULL, 0, dialog_thread, ¶ms, 0, NULL);
|
||||
WaitForSingleObject(params.hEvent, INFINITE);
|
||||
|
||||
CloseHandle(hThread);
|
||||
This->hwndDisabledParent = NULL;
|
||||
if (hwndParent && (dwFlags & PROGDLG_MODAL))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue