Log number of fds

Signed-off-by: Julian Orth <ju.orth@gmail.com>
This commit is contained in:
Julian Orth 2025-09-11 14:08:53 +02:00
parent 5f4add98a2
commit 6d60b36f8a

View file

@ -1643,6 +1643,13 @@ wl_closure_print(struct wl_closure *closure, struct wl_object *target,
}
}
if (closure->num_fds > 0) {
if (closure->count) {
fprintf(f, ", ");
}
fprintf(f, "num_fds = %d", closure->num_fds);
}
fprintf(f, ")%s\n", color ? WL_DEBUG_COLOR_RESET : "");
if (fclose(f) == 0) {