From 0f4f99b0be9b29ce3e5969d656f5723054295fe4 Mon Sep 17 00:00:00 2001 From: Chandrashekhar Mullaparthi Date: Mon, 23 Jan 2012 16:02:02 +0000 Subject: [PATCH] Fixed dialyzer warning which showed a bug! --- src/ibrowse_http_client.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ibrowse_http_client.erl b/src/ibrowse_http_client.erl index e634c4e..81322fd 100644 --- a/src/ibrowse_http_client.erl +++ b/src/ibrowse_http_client.erl @@ -1789,7 +1789,7 @@ shutting_down(#state{lb_ets_tid = undefined}) -> ok; shutting_down(#state{lb_ets_tid = Tid, cur_pipeline_size = _Sz}) -> - catch ets:match_delete(Tid, self()). + catch ets:delete(Tid, self()). inc_pipeline_counter(#state{is_closing = true} = State) -> State;