Skip to content

Files dropped in the image may be never released #103

Open
@LinqLover

Description

@LinqLover

Because probably no one knows who should be responsible for closing the relevant streams.

Drop files events are the only type of the that MUST be handled to avoid keeping the streams open. As an advocate of the #readOnlyFileNamed:do: pattern (i.e., executeAroundMethod is responsible for closing), I wish we could do something similar close to HandMorph>>#generateDropFilesEvent:. Maybe this method should only check for the drop file names and handlers (such as the world) should be responsible for opening and closing the files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug[WHAT] Something isn't working as expected. Automated tests beneficial. :-morphic[SCOPE] The issue is related to the Morphic framework.user[SCOPE] It is for the (maybe non-programming) (end-) user: designer, artist, writer, gamer, ...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions