Skip to content

Commit

Permalink
Fix bogus check in JavaScript WSTransceiver - Close #587
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Oct 15, 2019
1 parent 4211b55 commit d51c302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/Ice/browser/WSTransceiver.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ class WSTransceiver
}
}

moreData.value = this._readBuffers.byteLength > 0;
moreData.value = this._readBuffers.length > 0;

return byteBuffer.remaining === 0;
}
Expand Down

0 comments on commit d51c302

Please sign in to comment.