mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-115: Explicitly close connection when disconnect instruction is received.
This commit is contained in:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user