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

@ -30,14 +30,16 @@ extern "C" {
typedef struct _PinosModule PinosModule;
struct _PinosModule {
PinosCore *core;
SpaList link;
PinosCore *core;
SpaList link;
PinosGlobal *global;
char *name;
char *filename;
char *args;
void *user_data;
PINOS_SIGNAL (destroy_signal, (PinosListener *listener,
PinosModule *module));
};