diff options
author | emersion <contact@emersion.fr> | 2018-04-26 17:51:06 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-26 17:51:06 +0100 |
commit | 43012f374033d33d1ef642082b69924b9cf45115 (patch) | |
tree | f7ff4a9d469d8dee71acb9c5247f85a60bf1d0a0 /include/wlr/meson.build | |
parent | 979b1b22d598a8ff1d32903c96e049211f6a0285 (diff) |
compositor: redesign how resources are managed
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.
Diffstat (limited to 'include/wlr/meson.build')
0 files changed, 0 insertions, 0 deletions