We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc340a commit 5ddbc42Copy full SHA for 5ddbc42
1 file changed
src/backends/SDLBackend.cpp
@@ -101,8 +101,12 @@ int SDLBackend::networkInit() {
101
}
102
103
void SDLBackend::shutdown() {
104
- if (TTF_WasInit())
+ if (TTF_WasInit()) {
105
+ if (basicfont) {
106
+ TTF_CloseFont(basicfont);
107
+ }
108
TTF_Quit();
109
110
if (networkingup && listensocket)
111
SDLNet_TCP_Close(listensocket);
112
SDLNet_Quit();
0 commit comments