[Modify] Polish it
This commit is contained in:
parent
8f9d7ef2a3
commit
5c496b07b4
@ -280,8 +280,10 @@ namespace WebSocketSharp.Net
|
|||||||
object state
|
object state
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (_disposed)
|
if (_disposed) {
|
||||||
throw new ObjectDisposedException (GetType ().ToString ());
|
var name = GetType ().ToString ();
|
||||||
|
throw new ObjectDisposedException (name);
|
||||||
|
}
|
||||||
|
|
||||||
return _body.BeginWrite (buffer, offset, count, callback, state);
|
return _body.BeginWrite (buffer, offset, count, callback, state);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user