Index: remoting/webapp/crd/js/xmpp_connection.js |
diff --git a/remoting/webapp/crd/js/xmpp_connection.js b/remoting/webapp/crd/js/xmpp_connection.js |
index 34d7a7d65c60ac539caa120740875a388567595c..18e69acfdddd279f22cd01f598dd3e90bf121cfd 100644 |
--- a/remoting/webapp/crd/js/xmpp_connection.js |
+++ b/remoting/webapp/crd/js/xmpp_connection.js |
@@ -325,7 +325,8 @@ remoting.XmppConnection.prototype.onRead_ = function(readInfo) { |
this.streamParser_.appendData(readInfo.data); |
} |
- if (!this.startTlsPending_) { |
+ if (!this.startTlsPending_ && |
+ this.state_ != remoting.SignalStrategy.State.CLOSED) { |
this.tryRead_(); |
} |
}; |