]> git.eshelyaron.com Git - emacs.git/commit
Don't run FOR_EACH_FRAME when there's no frame left (Bug#29961)
authorMartin Rudalics <rudalics@gmx.at>
Fri, 15 Dec 2017 07:30:09 +0000 (08:30 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Fri, 15 Dec 2017 07:30:09 +0000 (08:30 +0100)
commit9bf66c6beec81927e960d31e78b7b3bad060c63e
treee7d32b780d973fb3ea84e7d86aa6fa2a9ee63036
parentc2a88ec8e8f3246c0f5051b208337205f7f96cca
Don't run FOR_EACH_FRAME when there's no frame left (Bug#29961)

This does not fix Bug#29961 but avoids that Emacs segfaults when
trying to shut down because it lost connection to the X server.

* src/dispnew.c (check_glyph_memory):
* src/frame.c (delete_frame): Don't run FOR_EACH_FRAME when
there's no frame left (Bug#29961).
src/dispnew.c
src/frame.c