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

Unregister processes when they die #635

Merged
merged 2 commits into from
Jun 24, 2023

Commits on Jun 22, 2023

  1. Fix bug in globalcontext_unregister_process

    The way the registered processes were freed when being unregisterd was unsafe if
    future API changes requre adjusting the layout of the RegisteredProcess struct.
    
    Signed-off-by: Winford <winford@object.stream>
    UncleGrumpy committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    612e8ee View commit details
    Browse the repository at this point in the history
  2. Unregister processes when they die

    Adds the function `globalcontext_maybe_unregister_process_id` to globalcontext.c
    to allow removing the appropriate entry from the registered atoms table when the
    associated context is destroyed.
    
    Signed-off-by: Winford <winford@object.stream>
    UncleGrumpy committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    fa13bf5 View commit details
    Browse the repository at this point in the history