summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/UI.java
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-03-06 11:56:53 +0200
committerPekka Hyvönen <pekka@vaadin.com>2015-03-06 12:29:24 +0200
commit741e798633edd584e62bcb4e6a00911a86908cdf (patch)
tree22d3b4c625376ba7f79ec82488a64f1696539d5b /server/src/com/vaadin/ui/UI.java
parent3c84a54591d792b69a4d6d736714941edb1d818a (diff)
parent4db0b55aefd83d149e62a7fad2b14fb232d976c8 (diff)
downloadvaadin-framework-741e798633edd584e62bcb4e6a00911a86908cdf.tar.gz
vaadin-framework-741e798633edd584e62bcb4e6a00911a86908cdf.zip
Merge branch 'master' into grid-columnreorder
Conflicts: uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java uitest/src/com/vaadin/tests/widgetset/client/grid/GridBasicClientFeaturesWidget.java Change-Id: Ic77c717b9bbdcc38585382d4944ee4491aba3f7d
Diffstat (limited to 'server/src/com/vaadin/ui/UI.java')
-rw-r--r--server/src/com/vaadin/ui/UI.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/UI.java b/server/src/com/vaadin/ui/UI.java
index 66f893e04a..8dd600ddd0 100644
--- a/server/src/com/vaadin/ui/UI.java
+++ b/server/src/com/vaadin/ui/UI.java
@@ -425,7 +425,12 @@ public abstract class UI extends AbstractSingleComponentContainer implements
+ ".");
} else {
if (session == null) {
- detach();
+ try {
+ detach();
+ } catch (Exception e) {
+ getLogger().log(Level.WARNING,
+ "Error while detaching UI from session", e);
+ }
// Disable push when the UI is detached. Otherwise the
// push connection and possibly VaadinSession will live on.
getPushConfiguration().setPushMode(PushMode.DISABLED);