Closed
Description
I haven't checked the other backends, but the X11 backend leaks pen handles.
SDL_QuitPen() gets called before X11_QuitPen(), so there aren't any pens left to clean up and the X11 handles are leaked.
I'm not sure the best way to handle this. Maybe add a cleanup callback to the AddPen call? Why don't we run into this with other types of devices?
Metadata
Metadata
Assignees
Labels
No labels