[Modify] Replace it
This commit is contained in:
parent
e61d5bc67f
commit
1bcfe395e4
@ -338,14 +338,7 @@ namespace WebSocketSharp.Net
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
conn.BeginReadRequest ();
|
||||||
conn._stream.BeginRead (conn._buffer, 0, _bufferLength, onRead, conn);
|
|
||||||
}
|
|
||||||
catch (Exception) {
|
|
||||||
// TODO: Logging.
|
|
||||||
|
|
||||||
conn.close ();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user