-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pipewire: store SPA handles in a global list by age
Operating on the assumption that every SPA handle can reference any other older SPA handle, the only safe destruction order is from youngest to oldest. To achieve this, store all handles across all plugins sorted by age (youngest first), and use that as the order of destruction in `pw_deinit()`. This line of thinking does not account for what happens when a handle that is referenced by others is unloaded, but it does not make that case worse either. See #2881
Showing
1 changed file
with
12 additions
and
17 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