Skip to content
This repository was archived by the owner on Dec 28, 2020. It is now read-only.
This repository was archived by the owner on Dec 28, 2020. It is now read-only.

Close done channels #1

@rakyll

Description

@rakyll

It's better to close the done channels right after a signal is sent. If coop user is accidently reading from done channels in multiple cases, they will be blocked forever. Closing a channel makes it eternally non-blocking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions