Skip to content

Close is not channel if err on the reader #7

@segator

Description

@segator

https://github.com/machinebox/progress/blob/master/progress.go#L117-L142

you should do something like if counter.Err()!=nil { return } this will force the clannel be closed with your defered close(ch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions