Hello all,

I noticed while reading the docs that several stdlib types -- notably `File` 
and `DbConn` are declared as `ptr` types. As I understand, this makes them 
vulnerable to use after free errors.

Would it make sense for the relevant `close` `proc` s to take the pointer as a 
`var` parameter and set it to `nil`? Then, files and handles would be truly 
unusable after being freed.

This could break code because of changes in mutability, but could it be a good 
objective for the next major release?

Reply via email to