aboutsummaryrefslogtreecommitdiff
path: root/util/log.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-26 17:51:06 +0100
committeremersion <contact@emersion.fr>2018-04-26 17:51:06 +0100
commit43012f374033d33d1ef642082b69924b9cf45115 (patch)
treef7ff4a9d469d8dee71acb9c5247f85a60bf1d0a0 /util/log.c
parent979b1b22d598a8ff1d32903c96e049211f6a0285 (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 'util/log.c')
0 files changed, 0 insertions, 0 deletions