Browse Source

function_clause in delete_globals

Ulf Wiger 9 years ago
parent
commit
0062f448e8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/gproc_dist.erl

+ 2 - 0
src/gproc_dist.erl

@@ -836,6 +836,8 @@ delete_globals(Globals) ->
     lists:foreach(
       fun({{_,g,_},T} = K) when is_atom(T); is_pid(T) ->
               ets:delete(?TAB, K);
+	 ({{{_,g,_},T} = K, _}) when is_atom(T); is_pid(T) ->
+	      ets:delete(?TAB, K);
          ({Pid, Key}) when is_pid(Pid); Pid==shared ->
 	      ets:delete(?TAB, {Pid, Key})
       end, Globals).