# 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`. |
||
|---|---|---|
| .. | ||
| app.rs | ||
| ci_testing.rs | ||
| lib.rs | ||
| plugin_group.rs | ||
| plugin.rs | ||
| schedule_runner.rs | ||