Skip to content
  • emersion's avatar
    compositor: redesign how resources are managed · 43012f37
    emersion authored
    All public resource creators now take a new ID for the resource
    and an optional list where the resource link is added. When the
    resource is destroyed it is its own responsibility to remove
    itself from the list. This removes the need for the caller to add
    a destroy listener.
    
    This commit fixes a few segfaults with resources not removed from
    the list when destroyed.
    43012f37