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

[PluginServer] Correct the order of Detach() and Notify() in Deactivate() #1765

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

VeithMetro
Copy link
Contributor

These changes fix the problem observed by @volkan-aslan and reported in this Jira ticket. It has also been reported by @msieben here.

With these changes, the order of Deactivate() is now symmetrical with Activate(). Before the changes, due to the Detach() being called prior to the last Notify(), there was a situation at shutdown where this condition in Server::Notification() wasn't protecting us when callsign was set to Controller, because Controller's callsign had already been cleared here.

Copy link
Contributor

@pwielders pwielders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good fix (y)

Copy link
Contributor

@sebaszm sebaszm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logical!

@sebaszm sebaszm merged commit aaf530c into master Sep 26, 2024
56 checks passed
@sebaszm sebaszm deleted the development/shutdown-oom-killer branch September 26, 2024 13:43
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