Skip to content

Commit a051308

Browse files
crutchcornjgoux
andcommitted
fix: solve runtime error causing exit conditions
Co-authored-by: jgoux <[email protected]>
1 parent 21e8179 commit a051308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pure.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async function render(
113113
}
114114

115115
function cleanup() {
116-
return Promise.all([...mountedInstances].map(cleanupAtInstance))
116+
return Promise.all(Array.from(mountedInstances).map(cleanupAtInstance))
117117
}
118118

119119
// maybe one day we'll expose this (perhaps even as a utility returned by render).

0 commit comments

Comments
 (0)