зеркало из https://github.com/mozilla/gecko-dev.git
Fixes bug 56978 "alert dialog consumes 100% cpu if network is down"
patch=moz@parabola.demon.co.uk r=danm,dougt sr=darin
This commit is contained in:
Родитель
dfa9fe16e4
Коммит
c269cb141b
|
@ -497,6 +497,8 @@ PL_ProcessPendingEvents(PLEventQueue* self)
|
||||||
PR_EnterMonitor(self->monitor);
|
PR_EnterMonitor(self->monitor);
|
||||||
|
|
||||||
if (self->processingEvents) {
|
if (self->processingEvents) {
|
||||||
|
_pl_AcknowledgeNativeNotify(self);
|
||||||
|
self->notified = PR_FALSE;
|
||||||
PR_ExitMonitor(self->monitor);
|
PR_ExitMonitor(self->monitor);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче