Skip to content

Comments

[neeo] Fix unregistering of all mDNS services#19458

Merged
jlaur merged 1 commit intoopenhab:mainfrom
andrewfg:neeo-mdns
Oct 9, 2025
Merged

[neeo] Fix unregistering of all mDNS services#19458
jlaur merged 1 commit intoopenhab:mainfrom
andrewfg:neeo-mdns

Conversation

@andrewfg
Copy link
Contributor

@andrewfg andrewfg commented Oct 9, 2025

Fixes #19359

Signed-off-by: Andrew Fiddian-Green software@whitebear.ch

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg self-assigned this Oct 9, 2025
@andrewfg andrewfg requested a review from morph166955 as a code owner October 9, 2025 11:45
@andrewfg andrewfg added the bug An unexpected problem or unintended behavior of an add-on label Oct 9, 2025
@andrewfg
Copy link
Contributor Author

andrewfg commented Oct 9, 2025

@Nadahar ping..

@andrewfg andrewfg requested a review from Copilot October 9, 2025 11:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an mDNS-related issue by correcting the cleanup behavior in the MdnsBrainDiscovery class. The change ensures proper service listener cleanup when the discovery service is closed.

  • Replaces unregisterAllServices() with targeted removal of the specific service listener

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jlaur jlaur changed the title [neeo] mdns fix [neeo] Fix unregistering of all mDNS services Oct 9, 2025
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks for the fix (also to @Nadahar).

@jlaur jlaur merged commit 9f184b8 into openhab:main Oct 9, 2025
3 checks passed
@jlaur jlaur added this to the 5.1 milestone Oct 9, 2025
jlaur pushed a commit that referenced this pull request Oct 9, 2025
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@jlaur jlaur added the backported A PR that has been cherry-picked to a patch release branch label Oct 9, 2025
jlaur pushed a commit that referenced this pull request Oct 9, 2025
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@jlaur jlaur added the backported4 Backported patches to the 4.x branch. Used for constructing release notes. label Oct 9, 2025
@andrewfg andrewfg deleted the neeo-mdns branch December 14, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported A PR that has been cherry-picked to a patch release branch backported4 Backported patches to the 4.x branch. Used for constructing release notes. bug An unexpected problem or unintended behavior of an add-on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[neeo] MdnsBrainDiscovery unregisters all mDNS services

2 participants