Add TODO for possible segfault cause
This commit is contained in:
parent
91ac88def7
commit
fe22cc8709
|
@ -25,6 +25,7 @@ pub struct DioxusUiPlugin;
|
||||||
|
|
||||||
impl Plugin for DioxusUiPlugin {
|
impl Plugin for DioxusUiPlugin {
|
||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
|
// TODO: I think UiRoots must be dropped only after EcsSubscriptions
|
||||||
app.init_non_send_resource::<UiRoots>()
|
app.init_non_send_resource::<UiRoots>()
|
||||||
.init_resource::<EcsSubscriptions>()
|
.init_resource::<EcsSubscriptions>()
|
||||||
.init_resource::<DeferredSystemRegistry>()
|
.init_resource::<DeferredSystemRegistry>()
|
||||||
|
|
Loading…
Reference in a new issue