We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fe08bf commit e0c7533Copy full SHA for e0c7533
crates/eframe/src/native/run.rs
@@ -407,7 +407,7 @@ mod glow_integration {
407
}
408
409
fn save_and_destroy(&mut self) {
410
- if let Some(running) = &mut self.running {
+ if let Some(mut running) = self.running.take() {
411
running
412
.integration
413
.save(running.app.as_mut(), running.gl_window.window());
@@ -778,7 +778,7 @@ mod wgpu_integration {
778
779
780
781
782
if let Some(window) = &self.window {
783
running.integration.save(running.app.as_mut(), window);
784
0 commit comments