Skip to content

Commit

Permalink
update from main
Browse files Browse the repository at this point in the history
  • Loading branch information
codefrau committed Mar 25, 2024
1 parent a6a0dd3 commit 35762ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squeak.js
Original file line number Diff line number Diff line change
Expand Up @@ -39015,7 +39015,7 @@
const port = this.ports.get(portNumber);
if (!port || !port.input || port.input.connection !== 'open') return false;
let received = 0;
const chunk = port.receivedData.shift();
let chunk = port.receivedData.shift();
while (chunk && received < data.length) {
const free = data.length - received;
if (chunk.length <= free) {
Expand Down

0 comments on commit 35762ef

Please sign in to comment.