Fix --without-x build after previous image cache changes
* src/alloc.c (garbage_collect): Fix --without-all --without-x build.
This commit is contained in:
parent
0ce216b38f
commit
90f8c8400f
1 changed files with 2 additions and 0 deletions
|
@ -6266,8 +6266,10 @@ garbage_collect (void)
|
|||
/* GC is complete: now we can run our finalizer callbacks. */
|
||||
run_finalizers (&doomed_finalizers);
|
||||
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
/* Eject unused image cache entries. */
|
||||
image_prune_animation_caches (false);
|
||||
#endif
|
||||
|
||||
if (!NILP (Vpost_gc_hook))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue