Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: uwiger/gproc
...
head fork: esl/gproc
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Jun 05, 2014
@whisperheart whisperheart Cannot unregister a global property
fix a bug of unregistering global properties in function delete_global: swap the tuple {Pid, Key} in branch {Key, Pid} of the function
cabd460
@uwiger Merge pull request #10 from whisperheart/patch-1
Cannot unregister a global property
1f12fbf
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/gproc_dist.erl
View
2  src/gproc_dist.erl
@@ -790,7 +790,7 @@ delete_globals(Globals) ->
fun({{_,g,_},T} = K) when is_atom(T) ->
ets:delete(?TAB, K);
({Key, Pid}) when is_pid(Pid); Pid==shared ->
- ets:delete(?TAB, {Pid, Key});
+ ets:delete(?TAB, {Key, Pid});
({Pid, Key}) when is_pid(Pid); Pid==shared ->
ets:delete(?TAB, {Pid, Key})
end, Globals).

No commit comments for this range

Something went wrong with that request. Please try again.