mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-558: Do not send pending messages if tunnel is closed.
This commit is contained in:
@@ -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