Skip to content

How to close the file description when a method return it ? #95

Description

@writePerfectCode

If a method of a service return a file description to the caller, where and how to close the file description ?
I have a try to close it in caller, it will a coredump in caller.
If have to close it in service, how ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions