mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
47abe00993
Instead of using `Closure::once_into_js`, this uses `into_js_value`, which uses weak references to clean up the closure when Javascript no longer has need of it. It would be nice to make this (and the similar interval function) drop the callback promptly when cancelled, but I don't think that's possible while keeping the handles Copy. Fixes #2330 Co-authored-by: Robert Macomber <robertm@mox> |
||
---|---|---|
.. | ||
.cargo | ||
examples | ||
src | ||
Cargo.toml | ||
Makefile.toml |