browseui: progressdlg: don't leak the event.
This commit is contained in:
parent
1bec9bb440
commit
659542aafc
|
@ -323,8 +323,9 @@ static HRESULT WINAPI ProgressDialog_StartProgressDialog(IProgressDialog *iface,
|
|||
|
||||
hThread = CreateThread(NULL, 0, dialog_thread, ¶ms, 0, NULL);
|
||||
WaitForSingleObject(params.hEvent, INFINITE);
|
||||
|
||||
CloseHandle(params.hEvent);
|
||||
CloseHandle(hThread);
|
||||
|
||||
This->hwndDisabledParent = NULL;
|
||||
if (hwndParent && (dwFlags & PROGDLG_MODAL))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue