From f9412ed2f1c445ea62a8367f7bcd31699e702171 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Thu, 10 Jun 2010 19:09:23 +0000 Subject: [PATCH] fixes regression #5092 svn changeset:13642/svn branch:6.4 --- .../vaadin/terminal/gwt/client/ApplicationConnection.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java index 449971ac39..d2c8f6e67c 100755 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java @@ -484,6 +484,11 @@ public class ApplicationConnection { // Synchronized call, discarded response (leaving the page) SynchronousXHR syncXHR = (SynchronousXHR) SynchronousXHR.create(); syncXHR.synchronousPost(uri + "&" + PARAM_UNLOADBURST + "=1", rd); + /* + * Although we are in theory leaving the page, the page may still + * stay open. End request properly here too. See #3289 + */ + endRequest(); } } -- 2.39.5