remove deleted clients from tasks client list during repop

fix T3369
This commit is contained in:
Mike Blumenkrantz 2016-03-28 12:59:45 -04:00
parent 488ece76a6
commit 9f52dfa50c
1 changed files with 2 additions and 0 deletions

View File

@ -616,6 +616,8 @@ static void
_tasks_item_free(Tasks_Item *item)
{
if (item->o_icon) evas_object_del(item->o_icon);
if (e_object_is_del(E_OBJECT(item->client)))
item->tasks->clients = eina_list_remove(item->tasks->clients, item->client);
e_object_unref(E_OBJECT(item->client));
evas_object_del(item->o_item);
free(item);