mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
improve debug
This commit is contained in:
parent
22b67cc95d
commit
53d3d5cb0c
6 changed files with 28 additions and 18 deletions
|
|
@ -64,6 +64,7 @@ struct node_data {
|
|||
static void resource_destroy(void *data)
|
||||
{
|
||||
struct node_data *nd = data;
|
||||
pw_log_debug("node %p", nd);
|
||||
spa_hook_remove(&nd->resource_listener);
|
||||
if (nd->node)
|
||||
pw_node_destroy(nd->node);
|
||||
|
|
@ -77,6 +78,7 @@ static const struct pw_resource_events resource_events = {
|
|||
static void node_destroy(void *data)
|
||||
{
|
||||
struct node_data *nd = data;
|
||||
pw_log_debug("node %p", nd);
|
||||
spa_list_remove(&nd->link);
|
||||
spa_hook_remove(&nd->node_listener);
|
||||
nd->node = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue