Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properties created by mreg do not removed when process die. #47

Closed
shian opened this issue Aug 13, 2013 · 1 comment
Closed

Properties created by mreg do not removed when process die. #47

shian opened this issue Aug 13, 2013 · 1 comment

Comments

@shian
Copy link

shian commented Aug 13, 2013

Hi

I use mreg to register some properties for a process. But when process die, the properties still in table gproc.

I dig into code and find in gproc_lib:insert_many that it call to gproc_lib:ensure_monitor and insert a record {Pid, Scope} into table.
That will make ets:insert_new in gproc:monitor_me fail and not set up monitor.

@uwiger
Copy link
Owner

uwiger commented Aug 13, 2013

Indeed. Fixed in the latest master. Test case added. Thanks.

@uwiger uwiger closed this as completed Jan 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants