Skip to content

Commit dc4a8f3

Browse files
authored
fix many disconnections
1 parent 9cf5bce commit dc4a8f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: CircularByteBuffer.h

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class CircularByteBuffer {
2323

2424
void clear ()
2525
{
26+
memset(data,0,capacity);
2627
size = 0;
2728
begin = 0;
2829
end = 0;

0 commit comments

Comments
 (0)