Understanding Finalizers and Resource Management in Effect Typescript

What am I misunderstanding about finalizers / resource management? Why does Closing baz not run in this example? Isn't it part of the same Scope?

https://effect.website/play/#e75abccd0a9b
Was this page helpful?