remove unused type map

Add reset methods for array and map
Signal disconnect before destroying the proxies in remote.
This commit is contained in:
Wim Taymans 2018-09-26 13:11:23 +02:00
parent 04f8da9110
commit d4fa4e63e8
6 changed files with 18 additions and 19 deletions

View file

@ -105,8 +105,6 @@ struct pw_client {
struct pw_resource *core_resource; /**< core resource object */
struct pw_map objects; /**< list of resource objects */
uint32_t n_types; /**< number of client types */
struct pw_map types; /**< map of client types */
struct spa_list resource_list; /**< The list of resources of this client */
@ -540,9 +538,6 @@ struct pw_remote {
* indexed with the client id */
struct pw_core_info *info; /**< info about the remote core */
uint32_t n_types; /**< number of client types */
struct pw_map types; /**< client types */
struct spa_list proxy_list; /**< list of \ref pw_proxy objects */
struct spa_list stream_list; /**< list of \ref pw_stream objects */
struct spa_list remote_node_list; /**< list of \ref pw_remote_node objects */