diff options
-rwxr-xr-x | src/com/vaadin/terminal/gwt/client/ApplicationConnection.java | 5 |
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(); } } |