]> 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>
Wed, 22 Jun 2022 13:50:24 +0000 (16:50 +0300)
commit5f1bd872478927ad4bc635502e74628d39885286
tree997fd201b7eef27c5e080ac78830aa9dedc7ef9d
parent38ae6cf3ce1a84f46739a788b8a2a832f8d08b2a
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)
src/alloc.c
src/nsterm.h
src/nsterm.m