Texture leak in palette editor #83

Open
opened 2022-10-10 04:19:50 +00:00 by kirsle · 0 comments
Owner

Hit F3 to see the Textures count and open the palette editor.

Each time you click on the Tex drop-down and pick a new texture, about 4 textures leak.

Ideally the pkg/pattern/ is supposed to cache *ui.Images one time each for the textures but it somehow leaks. May be in SelectBox.SetImage() somewhere in the UI toolkit.

Hit F3 to see the Textures count and open the palette editor. Each time you click on the Tex drop-down and pick a new texture, about 4 textures leak. Ideally the pkg/pattern/ is supposed to cache `*ui.Image`s one time each for the textures but it somehow leaks. May be in `SelectBox.SetImage()` somewhere in the UI toolkit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: SketchyMaze/doodle#83
No description provided.