From a90af46f358255fde5a4bc1dcb961caa98a37083 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 20 Dec 2008 20:51:23 +0000 Subject: [PATCH] Add comment to last change by jhd. --- src/frame.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frame.c b/src/frame.c index db8874f5280..a21bacc80da 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1480,6 +1480,10 @@ But FORCE inhibits this too. */) Vframe_list = Fdelq (frame, Vframe_list); FRAME_SET_VISIBLE (f, 0); + /* Allow the vector of menu bar contents to be freed in the next + garbage collection. The frame object itself may not be garbage + collected until much later, because recent_keys and other data + structures can still refer to it. */ f->menu_bar_vector = Qnil; free_font_driver_list (f); -- 2.39.2