diff --git a/src/html.rs b/src/html.rs
index 800f398d739..097686e25c1 100644
--- a/src/html.rs
+++ b/src/html.rs
@@ -229,6 +229,7 @@ where
ComponentUpdate::Destroy => {
// TODO this.component.take() instead of destroyed
this.component.as_mut().unwrap().destroy();
+ this.last_frame.as_mut().unwrap().detach(this.element.as_node());
this.destroyed = true;
}
}