Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bug in gproc_lib:remove_monitors/3

  • Loading branch information...
commit 6ca7ba76fc10278f3f930329e6db849b85af6d70 1 parent 9cbb0e7
@uwiger uwiger authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/gproc_lib.erl
View
2  src/gproc_lib.erl
@@ -225,7 +225,7 @@ remove_monitors(Key, Pid, MPid) ->
{_, Ms} ->
Ms1 = [{P,R} || {P,R} <- Ms,
P =/= MPid],
- NewMs = lists:keyreplace(monitors, 1, {monitors,Ms1}),
+ NewMs = lists:keyreplace(monitors, 1, Opts, {monitors,Ms1}),
ets:insert(?TAB, {K, NewMs}),
[{insert, [{{Pid,Key}, NewMs}]}]
end;
Please sign in to comment.
Something went wrong with that request. Please try again.