ecore-con - fix complaint about null slave list due to shutdown
so ecore-con already cleared the slaves list on shutdown but an ecore_thread may stillbe active and thus removing from a NULL slaves list wont work, so skip if slaves is NULL. @fix
This commit is contained in:
parent
4a40ff95de
commit
31e8a528b1
|
@ -207,8 +207,9 @@ ecore_con_info_data_clear(void *info)
|
|||
static void
|
||||
_ecore_con_info_slave_free(CB_Data *cbdata)
|
||||
{
|
||||
info_slaves = (CB_Data *)eina_inlist_remove(EINA_INLIST_GET(info_slaves),
|
||||
EINA_INLIST_GET(cbdata));
|
||||
if (info_slaves)
|
||||
info_slaves = (CB_Data *)eina_inlist_remove(EINA_INLIST_GET(info_slaves),
|
||||
EINA_INLIST_GET(cbdata));
|
||||
if (cbdata->result) free(cbdata->result);
|
||||
cbdata->result = NULL;
|
||||
if (cbdata->data) ecore_con_server_infos_del(cbdata->data, cbdata);
|
||||
|
|
Loading…
Reference in New Issue