@ -1257,18 +1257,18 @@ namespace WebSocketSharp
Action<Exception> error
)
{
var input = new MemoryStream (bytes);
var src = new MemoryStream (bytes);
input.CopyToAsync (
src.CopyToAsync (
stream,
bufferLength,
() => {
if (completed != null)
completed ();
input.Dispose ();
src.Dispose ();
},
ex => {
if (error != null)
error (ex);
}