Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impl Drop for Lzmawriter #24

Closed
wants to merge 4 commits into from
Closed

Impl Drop for Lzmawriter #24

wants to merge 4 commits into from

Conversation

ph0llux
Copy link

@ph0llux ph0llux commented Mar 12, 2021

I have implemented drop for the lzmawriter so that it is not mandatory to run finish().

I have unfortunately run into situations where it was no longer possible for me to execute finish(). For this purpose I have implemented what is executed in finish() in Drop. With finish(), however, the return value must then be adjusted (see pull request).

With Drop you don't get any feedback in case of an error - but you wouldn't if finish() wasn't executed.
I see no disadvantage here at the moment.

@rpodgorny
Copy link

#4

@rpodgorny
Copy link

hi, could you merge this? i would improve the ergonomics greatly...

@fpgaminer
Copy link
Owner

Sorry, this project is not maintained anymore.

@fpgaminer fpgaminer closed this Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants