@@ -332,6 +332,10 @@ impl VdomInnerExclusive {
333 'outer1: for new_l in new {
333 'outer1: for new_l in new {
335+ // Safety relies on removing `new_l` from the registry manually
336+ // at the end of its lifetime. This happens when we invoke
337+ // `clear_active_listeners` at the start of a new rendering
335 registry.add(new_l);
339 registry.add(new_l);
337 for old_l in old {
341 for old_l in old {