proxy: remove unneeded destroy signal

This commit is contained in:
Julian Bouzas
2019-06-26 12:48:09 -04:00
parent 3207811795
commit e73553088b
5 changed files with 6 additions and 14 deletions

View File

@@ -92,9 +92,9 @@ on_global_removed (WpRemotePipewire *rp, guint id, gpointer d)
if (!endpoint)
return;
/* Remove the endpoint from the table and unregister it */
g_hash_table_remove (impl->registered_endpoints, GUINT_TO_POINTER(id));
/* Unregister the endpoint and remove it from the table */
wp_endpoint_unregister (endpoint);
g_hash_table_remove (impl->registered_endpoints, GUINT_TO_POINTER(id));
}
static void