Fixed abnormal exit of threaded font scan which prevented enabling text/label tools on some environment such as Rocky Linux 8.

This commit is contained in:
dolphin6k 2021-12-22 22:24:53 +09:00
parent 78e0a4f08d
commit c67dfbc562

View file

@ -1186,7 +1186,7 @@ void run_font_scanner(SDL_Surface * screen, const char *restrict const locale)
*walk++ = '\0';
}
reliable_write(font_socket_fd, buf, size);
exit(0);
_exit(0);
}