mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-04 01:41:18 -05:00
Assert (almost all) signals have no attached listeners on destroy
This commit is contained in:
parent
b03b05d2b3
commit
8f56f7ca43
79 changed files with 518 additions and 9 deletions
|
|
@ -2177,6 +2177,8 @@ void drm_lease_destroy(struct wlr_drm_lease *lease) {
|
|||
|
||||
wl_signal_emit_mutable(&lease->events.destroy, NULL);
|
||||
|
||||
assert(wl_list_empty(&lease->events.destroy.listener_list));
|
||||
|
||||
struct wlr_drm_connector *conn;
|
||||
wl_list_for_each(conn, &drm->connectors, link) {
|
||||
if (conn->lease == lease) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue