1efcd584c2
When we iterate over the orphan list to run frame lifecyle methods, the orphan list may be modified (e.g. an event listener creates a new orphan object). To ensure that we iterate over all of the orphans originally present, this commit wraps the orphan list in an `Rc` (just like we do for the render list). Modifications to the list use `Rc::make_mut`, and iteration operates on a clone of the `Rc`. |
||
---|---|---|
.. | ||
assets | ||
build_playerglobal | ||
macros | ||
src | ||
Cargo.toml | ||
build.rs |