-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upnp: only call NotifyCallback once for each state
This patch modifies the Mapping class to prevent a mapping's NotifyCallback from being called more than once if the mapping's state hasn't changed (which can cause bugs, cf. the GitLab issue linked below). The patch also fixes a race condition in the reserveMapping function where a mapping reserved by one thread could wrongly appear to still be available from the perspective of a different thread. https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/410 Change-Id: I3784d36ccbb2f278ecc1c2573ac6f36b125f58c1
- Loading branch information
Showing
4 changed files
with
52 additions
and
11 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
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