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