Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[assets] remove unnecessary temporary strong handles (bevyengine#2304)
# Objective - When creating an asset, the `update_asset_storage` function was unnecessarily creating an extraneous `Handle` to the created asset via calling `set`. This has some overhead as the `RefChange::Increment/Decrement` event was being sent. - A similar exteraneous handle is also created in `load_async` when loading dependencies. ## Solution - Have the implementation use `Assets::set_untracked` and `AssetServer::load_untracked` so no intermediate handle is created.
- Loading branch information