Fix bug#66151
* src/fontset.c (free_realized_fontsets): Never call recompute_basic_faces on dead frames. (bug#66151)
This commit is contained in:
parent
67e1b9d055
commit
6583916a05
1 changed files with 5 additions and 4 deletions
|
@ -1366,10 +1366,11 @@ free_realized_fontsets (Lisp_Object base)
|
|||
if (CHAR_TABLE_P (this) && EQ (FONTSET_BASE (this), base))
|
||||
{
|
||||
Fclear_face_cache (Qt);
|
||||
/* This is in case some Lisp calls this function and then
|
||||
proceeds with calling some other function, like font-at,
|
||||
which needs the basic faces. */
|
||||
recompute_basic_faces (XFRAME (FONTSET_FRAME (this)));
|
||||
if (FRAME_LIVE_P (XFRAME (FONTSET_FRAME (this))))
|
||||
/* This is in case some Lisp calls this function and then
|
||||
proceeds with calling some other function, like font-at,
|
||||
which needs the basic faces. */
|
||||
recompute_basic_faces (XFRAME (FONTSET_FRAME (this)));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue