]> source.dussan.org Git - vaadin-framework.git/commitdiff
Reset reconnect counter when connection is re-established (#11733)
authorArtur Signell <artur@vaadin.com>
Fri, 28 Aug 2015 13:36:11 +0000 (16:36 +0300)
committerArtur Signell <artur@vaadin.com>
Mon, 31 Aug 2015 09:01:35 +0000 (12:01 +0300)
Change-Id: Ifb9895ebdfb6c193ed26c529237423275f0ffd11

client/src/com/vaadin/client/communication/ReconnectingCommunicationProblemHandler.java

index ed77fc64cd34635c9b3f510936749e1ab4c07bb6..2c08b0cfd0bb8b0b7481bfacef1c7db5b2e7f1b6 100644 (file)
@@ -502,6 +502,7 @@ public class ReconnectingCommunicationProblemHandler implements
         }
 
         reconnectionCause = null;
+        reconnectAttempt = 0;
         hideDialog();
 
         getLogger().info("Re-established connection to server");