diff options
Diffstat (limited to 'pinos/server/core.c')
-rw-r--r-- | pinos/server/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pinos/server/core.c b/pinos/server/core.c index 1665d902..7ac0b341 100644 --- a/pinos/server/core.c +++ b/pinos/server/core.c @@ -56,6 +56,7 @@ pinos_core_new (PinosMainLoop *main_loop) pinos_data_loop_start (this->data_loop); + spa_list_init (&this->registry_resource_list); spa_list_init (&this->global_list); spa_list_init (&this->client_list); spa_list_init (&this->node_list); @@ -111,6 +112,8 @@ pinos_core_add_global (PinosCore *core, spa_list_insert (core->global_list.prev, &global->link); pinos_signal_emit (&core->global_added, core, global); + pinos_log_debug ("global %p: new %u", global, global->id); + return global; } |