Children clear for loop
This commit is contained in:
@@ -22,6 +22,7 @@ macro_rules! rsx_scope {
|
|||||||
$rsx.dynamic_scope({
|
$rsx.dynamic_scope({
|
||||||
$($($crate::rsx_dep!($dep $(as $dp)?);)+)?
|
$($($crate::rsx_dep!($dep $(as $dp)?);)+)?
|
||||||
move |scope| {
|
move |scope| {
|
||||||
|
scope.children.lock().unwrap().clear();
|
||||||
for $p in $v {
|
for $p in $v {
|
||||||
$crate::rsx_child!(scope, $($inner)*);
|
$crate::rsx_child!(scope, $($inner)*);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user