Next: FileDescriptor-accessing, Previous: FileDescriptor class-instance creation, Up: FileDescriptor
The file will be automatically closed upon GC if the object is not referenced anymore, but it is better to close it as soon as you're finished with it anyway, using #close. To keep a file open even when no references exist anymore, send it #removeToBeFinalized