Describe the bug
When something throws (Directly) inside of a function passed to createRoot()
, the root that was being created doesn't get disposed.
Is this expected?
Your Example Website or App
https://playground.solidjs.com/anonymous/1e6d765f-717a-4fef-a981-573593533dcc
Steps to Reproduce the Bug or Issue
- Go to the playground link
- Check the console
Expected behavior
The root should be disposed and "Disposing" should be logged
Screenshots or Videos
No response
Platform
(Irrelevant)
Additional context
No response