mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
fix(openxr): graceful session exit, child-first teardown & clean Vulkan device destruction
This commit is contained in:
1 parent
dc6d796300
commit
378332b892
4 files changed
+190
-44
No files matched your search
@@ -187,6 +187,11 @@ impl SteamFrameGuiApp {
|
||||
}
|
||||
|
||||
impl eframe::App for SteamFrameGuiApp {
|
||||
fn on_exit(&mut self, _gl: Option<&eframe::glow::Context>) {
|
||||
log::info!("[eframe] Fermeture de la fenêtre principale, arrêt propre du moteur FPV...");
|
||||
self.engine.stop();
|
||||
}
|
||||
|
||||
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
|
||||
ctx.request_repaint_after(Duration::from_millis(16));
|
||||
|
||||
|
||||
Reference in new issue
Block a user