I really wish Disposables were inherited through closures. But that's not the case. You have to dispose of them manually if you wrap them in a function.

This will be solved with disposable stacks though.
Post image

Comments