mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
[win] online-installer: increase application close timeout
This commit is contained in:
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user