Permalink
Browse files

Update src/ibrowse_lb.erl

ets update counter throws exception when the corresponding process has already shutdown. Added line fee to L248
  • Loading branch information...
1 parent bb9fe30 commit 7c55ac9fc6c05d67a24459a1b5ad49e2dadefb90 @marutha marutha committed Dec 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/ibrowse_lb.erl
View
@@ -247,7 +247,8 @@ find_best_connection(Pid, Tid, Max_pipe) ->
find_best_connection(ets:next(Tid, Pid), Tid, Max_pipe);
_ ->
{ok, Pid}
- end; _ ->
+ end;
+_ ->
find_best_connection(ets:next(Tid, Pid), Tid, Max_pipe)
end.

0 comments on commit 7c55ac9

Please sign in to comment.