From: Sergey Budkin Date: Mon, 22 Sep 2014 07:43:02 +0000 (+0300) Subject: Exception on closing inactive UI causes issues (#14651) X-Git-Tag: 7.3.3~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=10d26786290ad8efcffbbee714bc182ccfc691c7;p=vaadin-framework.git Exception on closing inactive UI causes issues (#14651) Added proposed fix Change-Id: I88085546c2bf47f1e0952d64efadfc40bac12987 --- diff --git a/server/src/com/vaadin/server/communication/AtmospherePushConnection.java b/server/src/com/vaadin/server/communication/AtmospherePushConnection.java index f8ef360eda..a274fbbb9b 100644 --- a/server/src/com/vaadin/server/communication/AtmospherePushConnection.java +++ b/server/src/com/vaadin/server/communication/AtmospherePushConnection.java @@ -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; }