GUACAMOLE-115: Explicitly close connection when disconnect instruction is received.
This commit is contained in:
1 parent
3f43653a17
commit
1cdbd49dff
1 file changed
+7
@@ -849,6 +849,13 @@ Guacamole.Client = function(tunnel) {
|
|||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"disconnect" : function handleDisconnect(parameters) {
|
||||||
|
|
||||||
|
// Explicitly tear down connection
|
||||||
|
guac_client.disconnect();
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
"dispose": function(parameters) {
|
"dispose": function(parameters) {
|
||||||
|
|
||||||
var layer_index = parseInt(parameters[0]);
|
var layer_index = parseInt(parameters[0]);
|
||||||
|
|||||||
Reference in new issue
Block a user