mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1235246 - Always execute a queued call if it's overdue; r=me
GeckoThread.queueNativeCallLocked tries to execute a queued native call if it's already overdue, but it incorrectly checked that the queue is not empty. That check is not necessary, and an overdue native call should always be executed. One-line patch, r=me.
This commit is contained in:
parent
426034af5d
commit
3058d39468
@ -194,7 +194,7 @@ public class GeckoThread extends Thread implements GeckoEventListener {
|
||||
throw new UnsupportedOperationException("Cannot find method", e);
|
||||
}
|
||||
|
||||
if (QUEUED_CALLS.size() == 0 && isStateAtLeast(state)) {
|
||||
if (isStateAtLeast(state)) {
|
||||
invokeMethod(method, obj, argValues.toArray());
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user