зеркало из https://github.com/mozilla/pjs.git
Replaces check for processingEvents. r=danm, darin a=hyatt
This commit is contained in:
Родитель
5f305d3641
Коммит
fa015f33ba
|
@ -486,6 +486,11 @@ PL_ProcessPendingEvents(PLEventQueue* self)
|
|||
|
||||
|
||||
PR_EnterMonitor(self->monitor);
|
||||
|
||||
if (self->processingEvents) {
|
||||
PR_ExitMonitor(self->monitor);
|
||||
return;
|
||||
}
|
||||
self->processingEvents = PR_TRUE;
|
||||
|
||||
/* Only process the events that are already in the queue, and
|
||||
|
|
Загрузка…
Ссылка в новой задаче