Add TODO for possible segfault cause

This commit is contained in:
JMS55 2023-12-16 17:48:42 -08:00
parent 91ac88def7
commit fe22cc8709

View file

@ -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::<UiRoots>()
.init_resource::<EcsSubscriptions>()
.init_resource::<DeferredSystemRegistry>()