Work around for Mozilla. If we're told to wait for a resource to shut down

that isn't a keygen context, sleep for a second so that the user actually
sees the dialog instead of a window that mysteriously appears and disappears
without ever showing them anything.
This commit is contained in:
javi%netscape.com 2000-06-16 22:45:48 +00:00
Родитель bc28bbd422
Коммит 59605d8a47
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -1630,6 +1630,9 @@ SSM_HTTPMonitorResourceHandler(HTTPRequest *req)
*/
SSM_WaitForResourceShutdown(target);
}
else{
PR_Sleep(PR_TicksPerSecond());
}
SSM_FreeResource(target);
}