servo/ports/servoshell/desktop
Simon Wülker 7439fa18d3
Keep winit::Window alive until all rendering contexts are destroyed (#37239)
Dropping the window while the rendering contexts are still around causes
a segmentation fault during shutdown. This is a very fragile change. I
added comments to hopes of making regressions less likely.

Testing: I don't think we have a way to write tests for this change
since it requires a wayland system ):
Fixes: https://github.com/servo/servo/issues/36711

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-06-03 19:29:16 +00:00
..
protocols Initial support for marking custom protocol secure (#36656) 2025-04-25 10:39:33 +00:00
accelerated_gl_media.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
app.rs Keep winit::Window alive until all rendering contexts are destroyed (#37239) 2025-06-03 19:29:16 +00:00
app_state.rs servoshell: Ensure that the theme is applied properly on startup (#37128) 2025-05-26 15:09:04 +00:00
cli.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
dialog.rs Fully support <input type=color> (#36992) 2025-05-15 17:30:38 +00:00
egui_glue.rs servoshell: Fallback to light theme when initializing egui (#37228) 2025-06-03 13:47:10 +00:00
events_loop.rs libservo: Move animation tracking from WindowMethods to delegates (#36400) 2025-04-09 19:41:53 +00:00
gamepad.rs libservo: Expose a single InputEvent type and pass it to script (#35430) 2025-02-12 17:07:15 +00:00
geometry.rs Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
headed_window.rs Keep winit::Window alive until all rendering contexts are destroyed (#37239) 2025-06-03 19:29:16 +00:00
headless_window.rs libservo: Make zooming and HiDPI scaling work per-WebView (#36419) 2025-04-14 12:01:49 +00:00
keyutils.rs servoshell: Clean up keyboard event conversion a little (#32564) 2024-06-19 19:38:56 +00:00
minibrowser.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
mod.rs libservo: Expose a ServoBuilder (#36549) 2025-04-16 16:58:52 +00:00
tracing.rs servoshell: Port desktop servoshell to use delegate API (#35284) 2025-02-06 07:33:31 +00:00
webxr.rs libservo: Expose a ServoBuilder (#36549) 2025-04-16 16:58:52 +00:00
window_trait.rs servoshell: Ensure that the theme is applied properly on startup (#37128) 2025-05-26 15:09:04 +00:00