Skip to content

Commit

Permalink
fix {odd_info,heartbeat_triggered}
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaev Ivan committed Mar 27, 2012
1 parent 6f4032a commit 970be49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sockjs_session.erl
Expand Up @@ -285,6 +285,8 @@ handle_info(heartbeat_triggered, State = #session{response_pid = RPid}) when RPi
RPid ! go,
{noreply, State#session{heartbeat_tref = triggered}};

handle_info(heartbeat_triggered, State) -> {stop, normal, State};

handle_info(Info, State) ->
{stop, {odd_info, Info}, State}.

Expand Down

0 comments on commit 970be49

Please sign in to comment.