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