1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-14 07:40:35 +00:00

BESM6: Fonts should be closed explicitly before terminating SDL_ttf.

This commit is contained in:
Leo Broukhis 2015-01-19 09:41:15 -08:00
parent 7dfc409da3
commit 0ee809546c

View File

@ -382,6 +382,8 @@ t_stat besm6_close_panel (UNIT *u, int32 val, char *cptr, void *desc)
{
if (! screen)
return SCPE_NOTATT;
if (font_big) TTF_CloseFont(font_big);
if (font_small) TTF_CloseFont(font_small);
TTF_Quit();
SDL_Quit();
screen = 0;