Skip to content

Commit

Permalink
Fix sQpushBytes sending the beginning of the array multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobini1 authored Aug 23, 2024
1 parent bbb6a5b commit a446551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/websock.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default class Websock {
chunkSize = bytes.length - offset;
}

this._sQ.set(bytes.subarray(offset, chunkSize), this._sQlen);
this._sQ.set(bytes.subarray(offset, offset + chunkSize), this._sQlen);
this._sQlen += chunkSize;
offset += chunkSize;
}
Expand Down

0 comments on commit a446551

Please sign in to comment.