Browse Source

fix faulty remove_entry() call

Ulf Wiger 9 years ago
parent
commit
59f14bf8d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/gproc_dist.erl

+ 1 - 1
src/gproc_dist.erl

@@ -838,7 +838,7 @@ delete_globals(Globals) ->
               remove_entry(K, T, []);
          ({{{_,g,_} = K, T}, P}) when is_pid(P), is_atom(T);
                                           is_pid(P), is_pid(T) ->
-	      remove_entry(K, T, []);
+	      remove_entry(K, P, []);
          ({Pid, Key}) when is_pid(Pid); Pid==shared ->
 	      ets:delete(?TAB, {Pid, Key})
       end, Globals).