|
|
|
@ -162,7 +162,7 @@ namespace WebSocketSharp.Net
|
|
|
|
internal void Complete (Exception exception)
|
|
|
|
internal void Complete (Exception exception)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_exception = _inGet && (exception is ObjectDisposedException)
|
|
|
|
_exception = _inGet && (exception is ObjectDisposedException)
|
|
|
|
? new HttpListenerException (995, "Listener closed.")
|
|
|
|
? new HttpListenerException (995, "The listener is closed.")
|
|
|
|
: exception;
|
|
|
|
: exception;
|
|
|
|
|
|
|
|
|
|
|
|
lock (_sync)
|
|
|
|
lock (_sync)
|
|
|
|
|