[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Font consuming file handles



Dmitry Borisov wrote:
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
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.