Skip to content

Commit 2ad3d70

Browse files
committed
Fix page.Clean()
1 parent 1d326e6 commit 2ad3d70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Pglet/Page.cs

+2
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,8 @@ public override async Task CleanAsync()
398398
RemoveControlRecursively(_index, child);
399399
}
400400

401+
_controls.Clear();
402+
401403
await SendCommand("clean", UniqueId);
402404
}
403405

0 commit comments

Comments
 (0)