mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
f06cd448db
# Objective when handles for loading assets are dropped, we currently wait until load is completed before dropping the handle. drop asset-load tasks immediately ## Solution - track tasks for loading assets and drop them immediately when all handles are dropped. ~~- use `join_all` in `gltf_loader.rs` to allow it to yield and be dropped.~~ doesn't cover all the load apis - for those it doesn't cover the task will still be detached and will still complete before the result is discarded. separated out from #13170 |
||
---|---|---|
.. | ||
io | ||
processor | ||
server | ||
assets.rs | ||
direct_access_ext.rs | ||
event.rs | ||
folder.rs | ||
handle.rs | ||
id.rs | ||
lib.rs | ||
loader.rs | ||
loader_builders.rs | ||
meta.rs | ||
path.rs | ||
reflect.rs | ||
saver.rs | ||
transformer.rs |