Skip to content

Commit

Permalink
Fix buffer error
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed May 21, 2024
1 parent 3bb2f38 commit 961a0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/serverino/communicator.d
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ package class Communicator
}
else
{
auto leftover = sendBuffer.array[sent..$];
auto leftover = sendBuffer.array[sent..$].dup;
sendBuffer.clear();

if (leftover.length > 0)
Expand Down

0 comments on commit 961a0c4

Please sign in to comment.