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

#2555 Headless Server should unregister #2633

Merged
merged 1 commit into from
May 21, 2022

Conversation

pljones
Copy link
Collaborator

@pljones pljones commented May 17, 2022

Short description of changes

Currently, when a registered server is terminated, it doesn't send an "unregister" to the directory. This means that there can be "ghost" entries for a while (visible with --showallservers or on Jamulus Explorer). This fix adds the necessary request to the existing OnAboutToQuit() handler.

CHANGELOG: Headless Server now unregisters correctly

Context: Fixes an issue?

Fixes: 2555

Does this change need documentation? What needs to be documented and how?

No.

Status of this Pull Request

Tested and has been running on my servers for months.

What is missing until this pull request can be merged?

Can be merged.

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@ann0see ann0see requested a review from hoffie May 19, 2022 06:30
@pljones pljones force-pushed the bugfix/unregister-on-sigint branch from 7752a01 to 5e39b08 Compare May 19, 2022 07:12
@hoffie hoffie added this to the Release 3.9.0 milestone May 19, 2022
@pljones pljones force-pushed the bugfix/unregister-on-sigint branch from 5e39b08 to d23ec6a Compare May 20, 2022 17:00
@hoffie hoffie requested a review from ann0see May 20, 2022 22:02
@pljones pljones force-pushed the bugfix/unregister-on-sigint branch from d23ec6a to f208d53 Compare May 21, 2022 07:45
@pljones pljones force-pushed the bugfix/unregister-on-sigint branch from f208d53 to 5b51386 Compare May 21, 2022 07:54
@ann0see ann0see merged commit 537c83c into jamulussoftware:master May 21, 2022
@pljones pljones deleted the bugfix/unregister-on-sigint branch June 14, 2022 16:09
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

Successfully merging this pull request may close these issues.

3 participants