[Modify] Polish it
This commit is contained in:
@@ -1788,7 +1788,7 @@ namespace WebSocketSharp
|
|||||||
|
|
||||||
_readyState = WebSocketState.Closed;
|
_readyState = WebSocketState.Closed;
|
||||||
|
|
||||||
var e = new CloseEventArgs (code, reason);
|
var e = new CloseEventArgs ((ushort) code, reason, false);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
OnClose.Emit (this, e);
|
OnClose.Emit (this, e);
|
||||||
|
|||||||
Reference in New Issue
Block a user