[win] online-installer: increase application close timeout

This commit is contained in:
SimplestStudio
2025-04-30 13:51:15 +03:00
parent 196538b640
commit ec4325d073

View File

@ -218,7 +218,7 @@ namespace NS_Utils
accept = (IDOK == NS_Utils::ShowTaskDialog(parent, msg.c_str(), TD_INFORMATION_ICON));
if (accept) {
PostMessage(app_hwnd, UM_INSTALL_UPDATE, 0, 0);
Sleep(1000);
Sleep(3000);
while(true) {
if ((app_hwnd = FindWindow(WINDOW_CLASS_NAME, NULL)) != nullptr) {
wstring msg(_TR(MSG_ERR_CLOSE_APP));