[Modify] Polish it
This commit is contained in:
parent
752da8a7f5
commit
d7a6d822af
@ -1041,7 +1041,6 @@ namespace WebSocketSharp
|
|||||||
private void open ()
|
private void open ()
|
||||||
{
|
{
|
||||||
_inMessage = true;
|
_inMessage = true;
|
||||||
try {
|
|
||||||
startReceiving ();
|
startReceiving ();
|
||||||
try {
|
try {
|
||||||
OnOpen.Emit (this, EventArgs.Empty);
|
OnOpen.Emit (this, EventArgs.Empty);
|
||||||
@ -1050,10 +1049,6 @@ namespace WebSocketSharp
|
|||||||
_logger.Error (ex.ToString ());
|
_logger.Error (ex.ToString ());
|
||||||
error ("An exception has occurred during the OnOpen event.", ex);
|
error ("An exception has occurred during the OnOpen event.", ex);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
catch (Exception ex) {
|
|
||||||
processException (ex, "An exception has occurred while opening.");
|
|
||||||
}
|
|
||||||
|
|
||||||
MessageEventArgs e = null;
|
MessageEventArgs e = null;
|
||||||
lock (_forMessageEventQueue) {
|
lock (_forMessageEventQueue) {
|
||||||
|
Loading…
Reference in New Issue
Block a user