mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-846: tunnel.uuid not initialized if tunnel becomes UNSTABLE
This commit is contained in:
@@ -1015,7 +1015,7 @@ Guacamole.WebSocketTunnel = function(tunnelURL) {
|
|||||||
var opcode = elements.shift();
|
var opcode = elements.shift();
|
||||||
|
|
||||||
// Update state and UUID when first instruction received
|
// Update state and UUID when first instruction received
|
||||||
if (tunnel.state === Guacamole.Tunnel.State.CONNECTING) {
|
if (tunnel.uuid === null) {
|
||||||
|
|
||||||
// Associate tunnel UUID if received
|
// Associate tunnel UUID if received
|
||||||
if (opcode === Guacamole.Tunnel.INTERNAL_DATA_OPCODE)
|
if (opcode === Guacamole.Tunnel.INTERNAL_DATA_OPCODE)
|
||||||
|
Reference in New Issue
Block a user