Browse Source

correct remove of globals on process DOWN

Yuriy Bogdanov 11 years ago
parent
commit
9321895d25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/gproc_dist.erl

+ 1 - 1
src/gproc_dist.erl

@@ -237,7 +237,7 @@ handle_call(_, _, S, _) ->
     {reply, badarg, S}.
 
 handle_info({'DOWN', _MRef, process, Pid, _}, S) ->
-    ets:delete(?TAB, {{Pid, g}}),
+    ets:delete(?TAB, {Pid, g}),
     leader_cast({pid_is_DOWN, Pid}),
     {ok, S};
 handle_info(_, S) ->