summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-06-10 19:09:23 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-06-10 19:09:23 +0000
commitf9412ed2f1c445ea62a8367f7bcd31699e702171 (patch)
tree4f07811e457ea3cd8bb1ae4bea04e8fd11dc2fb6
parent9d4f8b84d6d26c17a17c285e7f5be04436546014 (diff)
downloadvaadin-framework-f9412ed2f1c445ea62a8367f7bcd31699e702171.tar.gz
vaadin-framework-f9412ed2f1c445ea62a8367f7bcd31699e702171.zip
fixes regression #5092
svn changeset:13642/svn branch:6.4
-rwxr-xr-xsrc/com/vaadin/terminal/gwt/client/ApplicationConnection.java5
1 files changed, 5 insertions, 0 deletions
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();
}
}