Stop sending empty frames.
This commit is contained in:
parent
c4b6e77127
commit
a339a4856a
|
@ -175,7 +175,7 @@ function flush() {
|
|||
if (websocket.bufferedAmount < api.maxBufferedAmount) {
|
||||
//Util.Debug("arr: " + arr);
|
||||
//Util.Debug("sQ: " + sQ);
|
||||
if (sQ) {
|
||||
if (sQ.length > 0) {
|
||||
websocket.send(encode_message(sQ));
|
||||
sQ = [];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue