[Modify] Polish it
This commit is contained in:
parent
67f467b2e5
commit
59f54c37af
@ -298,8 +298,10 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
public override void EndWrite (IAsyncResult asyncResult)
|
public override void EndWrite (IAsyncResult asyncResult)
|
||||||
{
|
{
|
||||||
if (_disposed)
|
if (_disposed) {
|
||||||
throw new ObjectDisposedException (GetType ().ToString ());
|
var name = GetType ().ToString ();
|
||||||
|
throw new ObjectDisposedException (name);
|
||||||
|
}
|
||||||
|
|
||||||
_body.EndWrite (asyncResult);
|
_body.EndWrite (asyncResult);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user