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

Not all links/monitors broken when process dies #25

Open
rnewson opened this issue Nov 4, 2012 · 0 comments
Open

Not all links/monitors broken when process dies #25

rnewson opened this issue Nov 4, 2012 · 0 comments

Comments

@rnewson
Copy link
Contributor

rnewson commented Nov 4, 2012

I've discovered why I'm not getting the monitor exits I expect. In ProcessAdapter.exit a test is made for the state of the process. If it's not alive, then the link break, monitor break code, is not triggered. However, it is possible for monitor to be registered during the call to exit. The subsequent call to exit then does not issue the rest of the monitor exit messages (and ditto for the link breaks). So, it seems process exit is not quite right. If I remove this check, then I get more monitor exit messages through to my erlang process.

Wall of text as it's late.

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

1 participant