зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
bc28bbd422
Коммит
59605d8a47
|
@ -1630,6 +1630,9 @@ SSM_HTTPMonitorResourceHandler(HTTPRequest *req)
|
|||
*/
|
||||
SSM_WaitForResourceShutdown(target);
|
||||
}
|
||||
else{
|
||||
PR_Sleep(PR_TicksPerSecond());
|
||||
}
|
||||
SSM_FreeResource(target);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче