Skip to content

Commit

Permalink
Fix close websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
maehjam committed Nov 13, 2024
1 parent 097b600 commit 0ddb7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/grisp_connect_test_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ websocket_info({listen, Pid}, State) ->
{[], [Pid | State]};
websocket_info({send_text, Msg}, State) ->
{[{text, Msg}], State};
websocket_info(close, State) ->
websocket_info(close_websocket, State) ->
{[close], State};
websocket_info(Info, State) ->
ct:pal("Ignore websocket info:~n~p", [Info]),
Expand Down

0 comments on commit 0ddb7c2

Please sign in to comment.