From 4d7fc70803cab94fbfb08df27505767b9e15ad7f Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 13 Nov 2023 15:53:29 +0100 Subject: [PATCH] Add a comment --- crates/eframe/src/native/run.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/eframe/src/native/run.rs b/crates/eframe/src/native/run.rs index adf1e262575..7f49cc83bb4 100644 --- a/crates/eframe/src/native/run.rs +++ b/crates/eframe/src/native/run.rs @@ -1892,6 +1892,8 @@ mod wgpu_integration { struct WgpuWinitRunning { integration: epi_integration::EpiIntegration, app: Box, + + /// Wrapped in an `Rc>` so it can be re-entrantly shared via a weak-pointer. shared: Rc>, }