Use refcounting for async shutdown

fix some memory leaks
This commit is contained in:
Wim Taymans 2017-01-12 14:57:07 +01:00
parent ee0aa6a2ac
commit 6d4db64767
21 changed files with 216 additions and 260 deletions

View file

@ -62,10 +62,11 @@ struct _PinosClient {
SpaList resource_list;
PINOS_SIGNAL (destroy_signal, (PinosListener *listener,
PinosClient *client));
PinosClient *client));
};
PinosClient * pinos_client_new (PinosCore *core,
struct ucred *ucred,
PinosProperties *properties);
void pinos_client_destroy (PinosClient *client);