
29 Jan
2013
29 Jan
'13
6:26 p.m.
Hi,
The pattern is essentially the same as in imperative languages; every
allocation should involve a finally clause that deallocates the
resource.
On Tue, Jan 29, 2013 at 2:59 PM, Thiago Negri
Should I put `Control.Exception.finally` on every single line of my finalizers?
I'm not sure what you're asking here. If your finally clause tries to call close, you don't have to catch exceptions raise by close (what would you do with them anyway).