-
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.
ice transport: use dedicated struct to hold pending upnp state
* fix: use the same mutex in callback and to wait * fix: notify with mutex locked * fix: avoid accessing this from callback, preventing potential use-after-free * allows to stop waiting for upnp mappings immediately when the transport is stopped * perform single allocation of shared state, and free the memory of mutex and cv after mapping completes Change-Id: I573937d2e8a90b31501a237607bbc7f52942bcea
- Loading branch information
Showing
1 changed file
with
49 additions
and
33 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