mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 15:08:29 +00:00
[APPWIZ] Don't hung up in Gecko download cancellation #3049
Do not call EndDialog outside the dialog procedure. CORE-14538
This commit is contained in:
parent
960511094b
commit
90456e54a4
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ static const addon_info_t addons_info[] = {
|
||||||
static const addon_info_t *addon;
|
static const addon_info_t *addon;
|
||||||
|
|
||||||
static HWND install_dialog = NULL;
|
static HWND install_dialog = NULL;
|
||||||
static IBinding *download_binding;
|
static IBinding *download_binding = NULL;
|
||||||
|
|
||||||
static WCHAR GeckoUrl[] = L"https://svn.reactos.org/amine/wine_gecko-2.40-x86.msi";
|
static WCHAR GeckoUrl[] = L"https://svn.reactos.org/amine/wine_gecko-2.40-x86.msi";
|
||||||
|
|
||||||
|
@ -382,7 +382,7 @@ static DWORD WINAPI download_proc(PVOID arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
DeleteFileW(tmp_file);
|
DeleteFileW(tmp_file);
|
||||||
EndDialog(install_dialog, 0);
|
PostMessageW(install_dialog, WM_COMMAND, IDCANCEL, 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue