]> source.dussan.org Git - vaadin-framework.git/commitdiff
Exception on closing inactive UI causes issues (#14651)
authorSergey Budkin <sergey@vaadin.com>
Mon, 22 Sep 2014 07:43:02 +0000 (10:43 +0300)
committerVaadin Code Review <review@vaadin.com>
Mon, 22 Sep 2014 11:51:23 +0000 (11:51 +0000)
Added proposed fix

Change-Id: I88085546c2bf47f1e0952d64efadfc40bac12987

server/src/com/vaadin/server/communication/AtmospherePushConnection.java

index f8ef360eda415a5d8596226c2e87c119a39ac5ef..a274fbbb9b736aa3f242905287aeb63f30fadb19 100644 (file)
@@ -269,6 +269,7 @@ public class AtmospherePushConnection implements PushConnection {
             // the resource is already resumed; this is a bit hacky and should
             // be implemented in a better way in 7.2.
             resource = null;
+            state = State.DISCONNECTED;
             return;
         }