Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Mark proc as unused in ret_proc

Otherwise we'll never reuse it
  • Loading branch information...
commit 017ba1c626e565d3b70c90ca92496d2602e4a909 1 parent e9440ae
@kocolosk kocolosk authored Robert Newson committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/couch/src/couch_proc_manager.erl
2  apps/couch/src/couch_proc_manager.erl
@@ -68,7 +68,7 @@ handle_call({ret_proc, #proc{client=Ref, pid=Pid} = Proc}, _From, State) ->
% table before the insert. Don't know which approach is cheaper.
case is_process_alive(Pid) of true ->
gen_server:cast(Pid, garbage_collect),
- ets:insert(, Proc);
+ ets:insert(, Proc#proc{client=nil});
false -> ok end,
{reply, true, State};

0 comments on commit 017ba1c

Please sign in to comment.
Something went wrong with that request. Please try again.