fix(app): release virtualized timeline elements (#42825)

This commit is contained in:
Luke Parker 2026-08-16 08:19:06 +10:00 committed by GitHub
parent 4fee4d7d86
commit d9dfceddf8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1203,6 +1203,8 @@ function MessageTimelineView(
onCleanup(() => {
if (contentMeasureFrame !== undefined) cancelAnimationFrame(contentMeasureFrame)
// Solid runs cleanup before it disconnects the row, so defer TanStack's null-ref cleanup.
queueMicrotask(() => virtualizer.measureElement(null))
})
return (