[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8e9ad92a140: Protect Vframe_list updating from interruptions
From: |
Robert Pluim |
Subject: |
master 8e9ad92a140: Protect Vframe_list updating from interruptions |
Date: |
Fri, 10 Jan 2025 10:10:05 -0500 (EST) |
branch: master
commit 8e9ad92a140e89c3e29dd7ab148534289e7769db
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
Protect Vframe_list updating from interruptions
* src/frame.c (delete_frame): When deleting the frame from
Vframe_list, block input, since input can arrive whilst we're
running lisp (Bug#74902).
---
src/frame.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/frame.c b/src/frame.c
index 7c07100e944..146ecb226a4 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2497,7 +2497,9 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
delete_all_child_windows (f->root_window);
fset_root_window (f, Qnil);
+ block_input ();
Vframe_list = Fdelq (frame, Vframe_list);
+ unblock_input ();
SET_FRAME_VISIBLE (f, false);
/* Allow the vector of menu bar contents to be freed in the next
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 8e9ad92a140: Protect Vframe_list updating from interruptions,
Robert Pluim <=