From f33e08aa4252e191f7790e67b78326368f266733 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 23 Feb 2015 23:14:34 +0200 Subject: [PATCH] Do not re-schedule an already scheduled lock breaker (#15317) Change-Id: I17dad660470283cd2d269a32d72d2f26ab86e7c4 --- client/src/com/vaadin/client/ApplicationConnection.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.5