This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch dev/dimmus/test
in repository efl.

View the commit online.

commit a945cee336cf72d47732205d74d57eb5e2f4c8fa
Author: dimmus <dmitri.chudi...@gmail.com>
AuthorDate: Tue Oct 22 18:17:35 2024 +0500

    efreet: solve efreet error with incorrect desktop references calculation
---
 src/lib/efreet/efreet_cache.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/efreet/efreet_cache.c b/src/lib/efreet/efreet_cache.c
index 681ea1f1aa..c579a99049 100644
--- a/src/lib/efreet/efreet_cache.c
+++ b/src/lib/efreet/efreet_cache.c
@@ -414,6 +414,7 @@ void
 efreet_cache_shutdown(void)
 {
     Efreet_Old_Cache *d;
+    uint n_caches = 0;
 
     ecore_event_type_flush(EFREET_EVENT_ICON_CACHE_UPDATE,
                            EFREET_EVENT_DESKTOP_CACHE_UPDATE,
@@ -436,7 +437,8 @@ efreet_cache_shutdown(void)
     efreet_cache_edd_shutdown();
     IF_RELEASE(icon_theme_cache_file);
 
-    if (old_desktop_caches)
+    n_caches = eina_list_count(old_desktop_caches);
+    if (old_desktop_caches &&  n_caches > 1)
         ERR("This application has not properly closed all its desktop references!");
     EINA_LIST_FREE(old_desktop_caches, d)
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to