Closed databasedav closed 7 months ago
Yes, the concept of these AsyncIO
and the corresponding beacons will be entirely removed once 0.13 hits. I plan to update as soon as the new version is released.
To clarify, there will be no entities created or associated with an AsyncIOSystem
. It will behave very similarly to the current AsyncSystem
just wanted to follow up on this, so I understand that there are no entities from this library that will leak now but it looks like the bevy internal entity still leaks if not explicitly .remove_system
-ed https://github.com/bevyengine/bevy/blob/2aed777435d26c357ed71cdb8c7b858de35e582e/crates/bevy_ecs/src/system/system_registry.rs#L146-L163
so i think we still need AsyncIOSystem.id
to be pub
so we can do async_world().apply(|world| world.remove_system(system.id))
?
this could be by making
AsyncIOSystem.beacon_location
public so users can manually manage the entity manually or adding such a method toAsyncWorld
i also noticed this comment
so maybe this will be covered there
otherwise, i believe the beacon entity leaks?