Skip to content

Commit bd5c118

Browse files
Merge pull request #1021 from f2069/fix-iterate-outgoing
ArgumentNullException ByteBuffer
2 parents 93dca47 + 6e3a6a0 commit bd5c118

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Assets/FishNet/Runtime/Connection/Buffer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public void Dispose()
5353
if (Data != null)
5454
ByteArrayPool.Store(Data);
5555
Data = null;
56+
Reset();
5657
}
5758

5859
/// <summary>

0 commit comments

Comments
 (0)