mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-06 12:58:05 +02:00
core: debug core sync
This commit is contained in:
parent
11b99527b5
commit
63397a1ff2
1 changed files with 6 additions and 0 deletions
|
|
@ -151,6 +151,9 @@ core_done (void *data, uint32_t id, int seq)
|
|||
|
||||
g_hash_table_steal_extended (self->async_tasks, GINT_TO_POINTER (seq), NULL,
|
||||
(gpointer *) &task);
|
||||
wp_debug_object (self, "done, seq 0x%x, task " WP_OBJECT_FORMAT,
|
||||
seq, WP_OBJECT_ARGS (task));
|
||||
|
||||
if (task)
|
||||
g_task_return_boolean (task, TRUE);
|
||||
}
|
||||
|
|
@ -633,6 +636,9 @@ wp_core_sync (WpCore * self, GCancellable * cancellable,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
wp_debug_object (self, "sync, seq 0x%x, task " WP_OBJECT_FORMAT,
|
||||
seq, WP_OBJECT_ARGS (task));
|
||||
|
||||
g_hash_table_insert (self->async_tasks, GINT_TO_POINTER (seq),
|
||||
g_steal_pointer (&task));
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue