ceylon-sdk icon indicating copy to clipboard operation
ceylon-sdk copied to clipboard

Should file descriptors implement Destroyable?

Open quintesse opened this issue 9 years ago • 1 comments

The types ReadableFileDescriptor and WritableFileDescriptor implement Closeable but perhaps they should also implement Destroyable (which would then call close())

quintesse avatar Sep 02 '16 19:09 quintesse

Don't Destroyables have to be created by instantiation rather than through a factory function like newOpenFile?

jvasileff avatar Sep 02 '16 19:09 jvasileff