forked from openthread/ot-br-posix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mdns] handle list change from
DiscoverCallback
(host or service)
This commit updates how the `DiscoverCallback` are tracked in `Mdns::Publisher` and how the callbacks are invoked. In particular, the `mDiscoverCallbacks` list itself can get updated as the callbacks are invoked. The new code ensures that we can handle such a situation from both `OnServiceResolved()` or `OnHostResolved()`.
- Loading branch information
Showing
2 changed files
with
78 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters