run hook destructors inside of the scope they were created in
This commit is contained in:
1 parent
e5a11aa2a5
commit
cdf25f0c14
3 files changed
+22
-15
No files matched your search
@@ -41,6 +41,7 @@ fn contexts_drop() {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
fn ChildComp() -> Element {
|
||||
let el = consume_context::<String>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user