Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Decoder.DecodeAll(fr) should ensure that fr is closed #33

@twelho

Description

@twelho

Currently if the DecodeAll(fr) call fails to decode some element from the frame reader fr, it returns the error without consuming the rest of the frames and without closing fr. DecodeAll should always ensure that the passed frame reader is closed no matter the result, we also need unit tests to enforce this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    next stepsSuitable for continuing work on the code base

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions