[Modify] Replace it

master
sta 6 years ago
parent cf1b051f0e
commit 2d67c5cba6

@ -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;
} }

Loading…
Cancel
Save