]> git.eshelyaron.com Git - emacs.git/commit
Prevent GC of window referenced from EmacsScroller
authorGerd Moellmann <gerd.moellmann@gmail.com>
Tue, 21 Jun 2022 13:49:44 +0000 (15:49 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 19 Jul 2022 13:04:13 +0000 (16:04 +0300)
commitf02944f5a1ad18ceed4ae40a0fbbdddc981b4893
tree864a209c5f9186bf08f56c71bfc1ddf075701bbe
parentcb911febc6c7a7c0ad451eb5514b3e32dac4af44
Prevent GC of window referenced from EmacsScroller

* src/nsterm.m (EmacsScroller.mark, mark_nsterm): New functions.
* src/nsterm.h (EmacsScroller.mark, mark_nsterm): Declare.
* src/alloc.c (garbage_collect) [MAVE_NS]: Call mark_nsterm.
(Bug#56095)

(cherry picked from commit 5f1bd872478927ad4bc635502e74628d39885286)
src/alloc.c
src/nsterm.h
src/nsterm.m