Skip to content

Commit f1fd8eb

Browse files
committed
[Modify] Polish it
1 parent ef4c466 commit f1fd8eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

websocket-sharp/Server/WebSocketSessionManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,8 +1066,10 @@ public void CloseSession (string id, CloseStatusCode code, string reason)
10661066
public bool PingTo (string id)
10671067
{
10681068
IWebSocketSession session;
1069+
10691070
if (!TryGetSession (id, out session)) {
10701071
var msg = "The session could not be found.";
1072+
10711073
throw new InvalidOperationException (msg);
10721074
}
10731075

0 commit comments

Comments
 (0)