GUACAMOLE-846: Merge changes ensuring tunnel.uuid is initialized regardless of tunnel state.

This commit is contained in:
Mike Jumper
2019-07-16 15:43:44 -07:00
committed by GitHub

View File

@@ -1015,7 +1015,7 @@ Guacamole.WebSocketTunnel = function(tunnelURL) {
var opcode = elements.shift();
// Update state and UUID when first instruction received
if (tunnel.state === Guacamole.Tunnel.State.CONNECTING) {
if (tunnel.uuid === null) {
// Associate tunnel UUID if received
if (opcode === Guacamole.Tunnel.INTERNAL_DATA_OPCODE)