mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 13:13:49 +00:00
75880a0b17
# Objective - Fixes https://github.com/bevyengine/bevy/issues/6417 ## Solution - clear_trackers was not being called on the render world. This causes the removed components vecs to continuously grow. This PR adds clear trackers to the end of RenderStage::Cleanup ## Migration Guide The call to `clear_trackers` in `App` has been moved from the schedule to App::update for the main world and calls to `clear_trackers` have been added for sub_apps in the same function. This was due to needing stronger guarantees. If clear_trackers isn't called on a world it can lead to memory leaks in `RemovedComponents`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |