Skip to content

Commit

Permalink
fix state bug
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Dec 26, 2013
1 parent d253ce8 commit 6ab8d83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/websocket/websocket.erl
Expand Up @@ -111,7 +111,8 @@ broadcast_server(Pids) ->
{'DOWN', MRef, process, Pid, _Reason} ->
broadcast_down(Pid, MRef, Pids);
Msg ->
io:format("Unknown message: ~p~n", [Msg])
io:format("Unknown message: ~p~n", [Msg]),
Pids
end,
erlang:hibernate(?MODULE, broadcast_server, [Pids1]).

Expand Down

0 comments on commit 6ab8d83

Please sign in to comment.