Dmitry Borisov wrote:
Interesting, I suspect there is some sort of communication with SDL as to who should be responsible for the file handle. If so this can be fixed in Pygame. After the load is finished, SDL_ttf no longer needs the file handle, so it just isn't getting closed.I use pygame for my multimedia system and just took a look at the file handles. I was pretty shocked seeing ~100 open file handles under my app