Browse Source

Merge pull request #177 from suexcxine/patch-3

Fix function clause matching gproc_dist:mk_broadcast_insert_vals
Ulf Wiger 4 years ago
parent
commit
10967c6356
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/gproc_dist.erl

+ 2 - 2
src/gproc_dist.erl

@@ -985,9 +985,9 @@ surrendered_1(Globs) ->
                   [Obj|Acc]
           end, [], Globs),
     ?event({'Ldr_local_globs', Ldr_local_globs}),
-    case [{K,P,V} || {K,P,V} <- My_local_globs,
+    case [{K,P,V} || {{K,_}=R,P,V} <- My_local_globs,
 		     is_pid(P) andalso
-			 not(lists:keymember(K, 1, Ldr_local_globs))] of
+			 not(lists:keymember(R, 1, Ldr_local_globs))] of
         [] ->
             %% phew! We have the same picture
             ok;