You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/11/07 18:56:18 UTC
[1/2] incubator-guacamole-client git commit: GUACAMOLE-115:
Explicitly close connection when disconnect instruction is received.
Repository: incubator-guacamole-client
Updated Branches:
refs/heads/master 3f43653a1 -> d598ce18b
GUACAMOLE-115: Explicitly close connection when disconnect instruction is received.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/1cdbd49d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/1cdbd49d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/1cdbd49d
Branch: refs/heads/master
Commit: 1cdbd49dff434e8efb3ac42a90ca244bc1a958e9
Parents: 3f43653
Author: Michael Jumper <mj...@apache.org>
Authored: Mon Nov 7 10:29:53 2016 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Mon Nov 7 10:29:53 2016 -0800
----------------------------------------------------------------------
guacamole-common-js/src/main/webapp/modules/Client.js | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/1cdbd49d/guacamole-common-js/src/main/webapp/modules/Client.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/Client.js b/guacamole-common-js/src/main/webapp/modules/Client.js
index 060f460..45ebfe3 100644
--- a/guacamole-common-js/src/main/webapp/modules/Client.js
+++ b/guacamole-common-js/src/main/webapp/modules/Client.js
@@ -849,6 +849,13 @@ Guacamole.Client = function(tunnel) {
},
+ "disconnect" : function handleDisconnect(parameters) {
+
+ // Explicitly tear down connection
+ guac_client.disconnect();
+
+ },
+
"dispose": function(parameters) {
var layer_index = parseInt(parameters[0]);
[2/2] incubator-guacamole-client git commit: GUACAMOLE-115: Merge
client-side explicit disconnect fix.
Posted by jm...@apache.org.
GUACAMOLE-115: Merge client-side explicit disconnect fix.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/d598ce18
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/d598ce18
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/d598ce18
Branch: refs/heads/master
Commit: d598ce18b8fb5366fbdf753e9645320555e2203d
Parents: 3f43653 1cdbd49
Author: James Muehlner <ja...@guac-dev.org>
Authored: Mon Nov 7 10:55:42 2016 -0800
Committer: James Muehlner <ja...@guac-dev.org>
Committed: Mon Nov 7 10:55:42 2016 -0800
----------------------------------------------------------------------
guacamole-common-js/src/main/webapp/modules/Client.js | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------