]> source.dussan.org Git - vaadin-framework.git/commitdiff
Do not re-schedule an already scheduled lock breaker (#15317)
authorArtur Signell <artur@vaadin.com>
Mon, 23 Feb 2015 21:14:34 +0000 (23:14 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 24 Feb 2015 09:27:46 +0000 (09:27 +0000)
Change-Id: I17dad660470283cd2d269a32d72d2f26ab86e7c4

client/src/com/vaadin/client/ApplicationConnection.java

index 87fde2de324a99a199781c0c936cb1d5f0ef10ce..e7bbb6530029411d0f75c4163fb0ffdc2885c3fe 100644 (file)
@@ -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;
         }