From 06897a8af6a2b2da72e8ae784b2a4bba2481462c Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Tue, 25 Jan 2011 12:35:48 +0000 Subject: [PATCH] fixes #6315, now proper response and cleanup is done if the infamous last desperate request has some inconsistencies. svn changeset:17017/svn branch:6.5 --- .../terminal/gwt/server/AbstractCommunicationManager.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java index 068cf2e1fa..5dd99f9f0d 100644 --- a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java +++ b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java @@ -1221,7 +1221,13 @@ public abstract class AbstractCommunicationManager implements } } - return success; + /* + * Note that we ignore inconsistencies while handling unload request. + * The client can't remove invalid variable changes from the burst, and + * we don't have the required logic implemented on the server side. E.g. + * a component is removed in a previous burst. + */ + return success || closingWindowName != null; } public boolean handleVariableBurst(Object source, Application app, -- 2.39.5