bevy/crates/bevy_asset
robtfm 8a8d43d224
fix asset loader preregistration for multiple assets (#9453)
# Objective

fix #9452

when multiple assets are queued to a preregistered loader, only one gets
unblocked when the real loader is registered.

## Solution

i thought async_channel receivers worked like broadcast channels, but in
fact the notification is only received by a single receiver, so only a
single waiting asset is unblocked. close the sender instead so that all
blocked receivers are unblocked.
2023-08-17 20:56:41 +00:00
..
src fix asset loader preregistration for multiple assets (#9453) 2023-08-17 20:56:41 +00:00
Cargo.toml allow asset loader pre-registration (#9429) 2023-08-14 21:27:51 +00:00