Browse Source

Merge a21fe24148 into 0005cac696

pull/62/merge
GitHub Merge Button 13 years ago
parent
commit
b019a8c361
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      src/ibrowse_lb.erl

+ 4
- 5
src/ibrowse_lb.erl View File

@ -173,14 +173,13 @@ handle_info({'EXIT', Pid, _Reason},
ets_tid = Tid} = State) -> ets_tid = Tid} = State) ->
ets:match_delete(Tid, {{'_', Pid}, '_'}), ets:match_delete(Tid, {{'_', Pid}, '_'}),
Cur_1 = Cur - 1, Cur_1 = Cur - 1,
State_1 = case Cur_1 of
case Cur_1 of
0 -> 0 ->
ets:delete(Tid), ets:delete(Tid),
State#state{ets_tid = undefined};
class="p">{ class="n">noreply class="p">, State#state{ets_tid = undefined, num_cur_sessions = 0}, 10000};
_ -> _ ->
State
end,
{noreply, State_1#state{num_cur_sessions = Cur_1}, 10000};
{noreply, State#state{num_cur_sessions = Cur_1}}
end;
handle_info({trace, Bool}, #state{ets_tid = undefined} = State) -> handle_info({trace, Bool}, #state{ets_tid = undefined} = State) ->
put(my_trace_flag, Bool), put(my_trace_flag, Bool),

Loading…
Cancel
Save