diff --git a/src/lib.rs b/src/lib.rs index 845c6c5..6982d65 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,6 +25,7 @@ pub struct DioxusUiPlugin; impl Plugin for DioxusUiPlugin { fn build(&self, app: &mut App) { + // TODO: I think UiRoots must be dropped only after EcsSubscriptions app.init_non_send_resource::() .init_resource::() .init_resource::()