[Modify] Replace it

This commit is contained in:
sta 2020-02-04 21:53:49 +09:00
parent cf1b051f0e
commit 2d67c5cba6

View File

@ -150,10 +150,8 @@ namespace WebSocketSharp.Net
} }
flushBody (closing); flushBody (closing);
if (closing && _sendChunked) { if (closing && _sendChunked)
var last = getChunkSizeBytes (0, true); _write (_lastChunk, 0, 5);
_write (last, 0, last.Length);
}
return true; return true;
} }