Skip to content

Commit 0677d4a

Browse files
committed
asdasd
1 parent 92a34cf commit 0677d4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/reconciler/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ const HostConfig: Reconciler.HostConfig<
101101
container.add(child);
102102
},
103103
removeChildFromContainer: (container, child) => {
104+
if (child.close) {
105+
child.close();
106+
}
104107
container.delete(child);
105108
},
106109
prepareUpdate: function(

0 commit comments

Comments
 (0)