projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2e131f
)
Prune the animation cache from gc
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 14 Jul 2022 15:15:23 +0000
(17:15 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 14 Jul 2022 16:59:09 +0000
(18:59 +0200)
* src/alloc.c (garbage_collect): Prune animation cache
(bug#56546).
src/alloc.c
patch
|
blob
|
history
diff --git
a/src/alloc.c
b/src/alloc.c
index f115a3cebaaa821dc69822b702e5850db1f63bd1..69fee0d6002a8ace4d0f5bd697ce1ccfa2465467 100644
(file)
--- 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 ();