Hi,

since Nim 2 brought ARC/ORC it is tempting to stop using try-finally for 
disposing resources. Because now `=destroy` will be called automatically when 
reference count drops to 0.

But some examples in `stdlib` documentation eg. `std/httpclient` still use 
try-finally. When I looked into the sources of stdlib I was unable to find 
`=destroy` for `Socket` and for `SocketHandle`. So does it mean that 
try-finally is still necessary?

Thanks

Reply via email to