event-loop: Remove ply_trace calls around the disconnect handler

Doing a ply_trace both before and after the disconnect handler, which
gets called every time a boot client asks something of us through by
calling /sbin/plymouth leads to a lot of not really informative messages
in the debug-log.

This removes the 2 ply_trace calls around the disconnect handlers to make
the logs easier to read.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
calculate-0.9.5
Hans de Goede 4 years ago
parent cf7658b4cd
commit 7634c54175

@ -1061,15 +1061,9 @@ ply_event_loop_handle_disconnect_for_source (ply_event_loop_t *loop,
destination = (ply_event_destination_t *) ply_list_node_get_data (node);
next_node = ply_list_get_next_node (source->destinations, node);
if (destination->disconnected_handler != NULL) {
ply_trace ("calling disconnected_handler %p for fd %d",
destination->disconnected_handler, source->fd);
if (destination->disconnected_handler != NULL)
destination->disconnected_handler (destination->user_data, source->fd);
ply_trace ("done calling disconnected_handler %p for fd %d",
destination->disconnected_handler, source->fd);
}
node = next_node;
}
}

Loading…
Cancel
Save