Skip to content
Snippets Groups Projects
Commit 63397a1f authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

core: debug core sync

parent 11b99527
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment