GUAC-558: Do not send pending messages if tunnel is closed.
This commit is contained in:
1 parent
627271953d
commit
7dbb1b1ac0
1 file changed
+4
@@ -225,6 +225,10 @@ Guacamole.HTTPTunnel = function(tunnelURL) {
|
|||||||
|
|
||||||
function sendPendingMessages() {
|
function sendPendingMessages() {
|
||||||
|
|
||||||
|
// Do not attempt to send messages if not connected
|
||||||
|
if (tunnel.state !== Guacamole.Tunnel.State.OPEN)
|
||||||
|
return;
|
||||||
|
|
||||||
if (outputMessageBuffer.length > 0) {
|
if (outputMessageBuffer.length > 0) {
|
||||||
|
|
||||||
sendingMessages = true;
|
sendingMessages = true;
|
||||||
|
|||||||
Reference in new issue
Block a user