[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)
|
||||
{
|
||||
if (_disposed)
|
||||
throw new ObjectDisposedException (GetType ().ToString ());
|
||||
if (_disposed) {
|
||||
var name = GetType ().ToString ();
|
||||
throw new ObjectDisposedException (name);
|
||||
}
|
||||
|
||||
_body.EndWrite (asyncResult);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user