egui/crates
Nicolas ab9f55ab01
Fix crash in `egui_extras::FileLoader` after `forget_image` (#6995)
This pull request modifies the `BytesLoader` implementation for
`FileLoader` in `crates/egui_extras/src/loaders/file_loader.rs` to
improve thread safety and handle unexpected states more gracefully.

### Changes to thread safety and state handling:
* Updated the cache logic to check if the `uri` exists in the cache
before inserting the result. If the `uri` is not found, a log message is
added to indicate the loading was canceled. This change prevents
overwriting cache entries unexpectedly.

* Closes <https://github.com/emilk/egui/issues/6755>
* [x] I have followed the instructions in the PR template
2025-06-27 11:27:03 +02:00
..
ecolor Make `HSVA` derive serde (#7132) 2025-06-16 01:40:42 +02:00
eframe eframe web: only cosume copy/cut events if the canvas has focus (#7270) 2025-06-27 10:25:47 +02:00
egui Fix crash in `egui_extras::FileLoader` after `forget_image` (#6995) 2025-06-27 11:27:03 +02:00
egui-wgpu Track original SVG size (#7098) 2025-05-28 08:33:01 +02:00
egui-winit Fix incorrect window sizes for non-resizable windows on Wayland (#7103) 2025-06-24 13:44:56 +02:00
egui_demo_app Create custom `egui_kittest::Node` (#7138) 2025-06-17 12:17:38 +02:00
egui_demo_lib Create custom `egui_kittest::Node` (#7138) 2025-06-17 12:17:38 +02:00
egui_extras Fix crash in `egui_extras::FileLoader` after `forget_image` (#6995) 2025-06-27 11:27:03 +02:00
egui_glow Track original SVG size (#7098) 2025-05-28 08:33:01 +02:00
egui_kittest Create custom `egui_kittest::Node` (#7138) 2025-06-17 12:17:38 +02:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Rename `master` branch to `main` (#7034) 2025-05-08 09:15:42 +02:00
emath Add Vec2::ONE 2025-06-15 18:01:58 -07:00
epaint Clamp text cursor positions in the same places where we used to (#7081) 2025-06-16 01:53:00 +02:00
epaint_default_fonts Update `emoji-icon-font` with fix for fullwidth latin characters (#7067) 2025-05-21 13:22:23 +02:00