Merge branch 'master' into fix-non-str-attributes

This commit is contained in:
Jonathan Kelley committed 2022-12-17 01:51:13 -08:00
commit cc7736302a
38 files changed
+890 -601

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ fn dual_stream() {
id: ElementId(1),
ns: None,
},
NewEventListener { name: "click", scope: ScopeId(0), id: ElementId(1) },
NewEventListener { name: "click", id: ElementId(1) },
HydrateText { path: &[0, 0], value: "123", id: ElementId(2) },
AppendChildren { id: ElementId(0), m: 1 },
]
+1 -1
View File
@@ -66,7 +66,7 @@ fn contexts_drop() {
fn tasks_drop() {
fn app(cx: Scope) -> Element {
cx.spawn(async {
tokio::time::sleep(std::time::Duration::from_millis(100000)).await;
// tokio::time::sleep(std::time::Duration::from_millis(100000)).await;
});
cx.render(rsx! {
+1 -3
View File
@@ -12,9 +12,7 @@ fn test_memory_leak() {
fn app(cx: Scope) -> Element {
let val = cx.generation();
cx.spawn(async {
tokio::time::sleep(std::time::Duration::from_millis(100000)).await;
});
cx.spawn(async {});
if val == 2 || val == 4 {
return cx.render(rsx!(()));