Assert (almost all) signals have no attached listeners on destroy
Remaining:
for i in $(grep -ElR 'wl_signal_init\(' backend/ render/ types/ util/ xwayland/ | sort); do printf "\t$(grep -E 'wl_signal_init\(' $i | wc -l)\t$(grep -E 'assert\(wl_list_empty\(.+listener_list' $i | wc -l)\t$i\n" | awk '{if ($1 != $2) print $0}'; done
1 0 backend/libinput/tablet_tool.c
1 0 backend/wayland/tablet_v2.c
3 0 types/tablet_v2/wlr_tablet_v2_pad.c
1 0 types/tablet_v2/wlr_tablet_v2_tool.c
Edited by Kirill Primak