[Modify] Polish it
This commit is contained in:
parent
07cd1f4108
commit
6852892f02
@ -184,9 +184,7 @@ namespace WebSocketSharp.Net
|
||||
|
||||
internal void Complete (Exception exception)
|
||||
{
|
||||
_exception = _inGet && (exception is ObjectDisposedException)
|
||||
? new HttpListenerException (995, "The listener is closed.")
|
||||
: exception;
|
||||
_exception = exception;
|
||||
|
||||
complete ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user