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:
Alex Pakhotin 2009-11-25 15:03:56 -08:00
Родитель 0407dfb81a
Коммит 6cf8102cbd
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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;