GUAC-1082: HTTP tunnel fails to reconnect

This commit is contained in:
David Dvora
2015-02-11 15:49:39 +02:00
committed by Michael Jumper
parent 52d61d8dbc
commit aad8bf8d2c

View File

@@ -214,6 +214,10 @@ Guacamole.HTTPTunnel = function(tunnelURL) {
// Mark as closed
tunnel.state = Guacamole.Tunnel.State.CLOSED;
// Reset output message buffer
sendingMessages = false;
if (tunnel.onstatechange)
tunnel.onstatechange(tunnel.state);