зеркало из https://github.com/mozilla/gecko-dev.git
bug 530676 - WinMo Installer gets stuck at User Profile Creation on 11/23 1.9.2 nightly, don't wait for for Fennec to exit infinitely r=gavin.sharp
This commit is contained in:
Родитель
0407dfb81a
Коммит
6cf8102cbd
|
@ -345,8 +345,10 @@ BOOL nsInstallerDlg::SilentFirstRun()
|
|||
NULL, NULL, FALSE, 0, NULL, NULL, NULL, &pi);
|
||||
if (bResult)
|
||||
{
|
||||
// Wait for it to finish
|
||||
WaitForSingleObject(pi.hProcess, INFINITE);
|
||||
// Wait for it to finish (since the system is likely to be busy
|
||||
// while it launches anyways). The process may never terminate
|
||||
// if FastStart is enabled, so don't wait longer than 10 seconds.
|
||||
WaitForSingleObject(pi.hProcess, 10000);
|
||||
}
|
||||
SetWindowText(GetDlgItem(m_hDlg, IDC_STATUS_TEXT), L"");
|
||||
return bResult;
|
||||
|
|
Загрузка…
Ссылка в новой задаче