Files
zed/crates
Ron HarelandSmit Barmase ca474e2252 image_viewer: Fix texture leak when reloading images (#58803)
When the image viewer reloads an image after the underlying file
changes, it now tracks the `RenderImage` currently displayed by the view
and drops that image’s atlas entry before replacing it with a newly
decoded render image. This prevents rapidly updated images from
accumulating atlas textures per reload while keeping cleanup scoped to
the window that displayed the image.

Closes #35894

Release Notes:

- Fixed a memory leak when previewing images that are repeatedly updated
on disk.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
2026-07-30 12:35:59 +00:00
..
2026-04-29 10:27:47 +00:00
2026-05-04 06:30:47 +00:00
2026-07-21 07:58:16 +00:00
…
…
2026-05-27 10:31:53 +00:00
2026-07-29 16:40:38 +00:00
2026-04-29 10:27:47 +00:00
2026-05-27 10:31:53 +00:00
2026-05-27 10:31:53 +00:00