emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 95966b28fb 1/3: Prune the animation cache from gc


From: Lars Ingebrigtsen
Subject: master 95966b28fb 1/3: Prune the animation cache from gc
Date: Thu, 14 Jul 2022 12:59:15 -0400 (EDT)

branch: master
commit 95966b28fb1a3f541a4f988a74005d45554536dd
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Prune the animation cache from gc
    
    * src/alloc.c (garbage_collect): Prune animation cache
    (bug#56546).
---
 src/alloc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/alloc.c b/src/alloc.c
index f115a3ceba..69fee0d600 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6266,6 +6266,9 @@ garbage_collect (void)
   /* GC is complete: now we can run our finalizer callbacks.  */
   run_finalizers (&doomed_finalizers);
 
+  /* Eject unused image cache entries.  */
+  image_prune_animation_caches (false);
+
   if (!NILP (Vpost_gc_hook))
     {
       specpdl_ref gc_count = inhibit_garbage_collection ();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]