summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-02-23 23:14:34 +0200
committerVaadin Code Review <review@vaadin.com>2015-02-24 09:27:46 +0000
commitf33e08aa4252e191f7790e67b78326368f266733 (patch)
treefc3cb45f6557ba067d845d20ffb663c81f412175
parent8199bff426d397a9254cebd9e2f3de6744e87e84 (diff)
downloadvaadin-framework-f33e08aa4252e191f7790e67b78326368f266733.tar.gz
vaadin-framework-f33e08aa4252e191f7790e67b78326368f266733.zip
Do not re-schedule an already scheduled lock breaker (#15317)
Change-Id: I17dad660470283cd2d269a32d72d2f26ab86e7c4
-rw-r--r--client/src/com/vaadin/client/ApplicationConnection.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java
index 87fde2de32..e7bbb65300 100644
--- a/client/src/com/vaadin/client/ApplicationConnection.java
+++ b/client/src/com/vaadin/client/ApplicationConnection.java
@@ -1498,7 +1498,9 @@ public class ApplicationConnection implements HasHandlers {
VConsole.log("Postponing UIDL handling due to lock...");
pendingUIDLMessages.add(new PendingUIDLMessage(start, jsonText,
json));
- forceHandleMessage.schedule(MAX_SUSPENDED_TIMEOUT);
+ if (!forceHandleMessage.isRunning()) {
+ forceHandleMessage.schedule(MAX_SUSPENDED_TIMEOUT);
+ }
return;
}