cache: hide the cleanup.

This commit is contained in:
Alastair Poole 2021-03-13 07:00:20 +00:00
parent 9158d0a8ee
commit 6219fcaf06
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ build/*
build
*.swp
*.core
*.out.*

View File

@ -110,6 +110,7 @@ evisum_ui_item_cache_reset(Evisum_Ui_Cache *cache)
cache->inactive = eina_list_prepend(cache->inactive, it);
}
}
evisum_ui_item_cache_pending_del(cache);
}
// Delete N at a time and pass on until empty.

View File

@ -180,9 +180,7 @@ _content_reset(Data *pd)
elm_table_pack(pd->tb_content, pd->summary.fr, 0, 2, j, 1);
evas_object_show(pd->summary.fr);
elm_genlist_clear(pd->glist);
if (pd->cache)
evisum_ui_item_cache_reset(pd->cache);
evisum_ui_item_cache_pending_del(pd->cache);
evisum_ui_item_cache_reset(pd->cache);
}
static void