make glyr stop crashing
This commit is contained in:
parent
4377cec26e
commit
70bb6b3e22
|
@ -73,7 +73,8 @@ exe_data(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Exe_Event_Data *ev)
|
|||
Ecore_Exe_Event_Data_Line *el;
|
||||
|
||||
tag = ecore_exe_tag_get(ev->exe);
|
||||
if ((!tag) || strcmp(tag, "glyr")) return ECORE_CALLBACK_RENEW;
|
||||
if ((!eina_list_data_find_list(exes, ev->exe)) || (!tag) || strcmp(tag, "glyr"))
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
req = ecore_exe_data_get(ev->exe);
|
||||
for (el = ev->lines; el && el->line ; el++)
|
||||
{
|
||||
|
@ -100,6 +101,7 @@ exe_del(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Exe_Event_Del *ev)
|
|||
if (!l) return (!tag) || strcmp(tag, "glyr");
|
||||
exes = eina_list_remove_list(exes, l);
|
||||
if ((!tag) || strcmp(tag, "glyr")) return ECORE_CALLBACK_DONE;
|
||||
ecore_exe_tag_set(ev->exe, NULL);
|
||||
req = ecore_exe_data_get(ev->exe);
|
||||
empc_metadata_fetch_done(req, NULL);
|
||||
return ECORE_CALLBACK_DONE;
|
||||
|
|
Loading…
Reference in New Issue