mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Replaces check for processingEvents. r=danm, darin a=hyatt
This commit is contained in:
parent
e31bc307ad
commit
66479b016a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user