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

Fix logging messages after flush() #7

Merged
merged 1 commit into from
May 4, 2024

Conversation

thomasjfox
Copy link
Contributor

We need to reset the "flushed" flag on each write() invocation. Otherwise we would buffer data and never flush it out as demonstrated in #4 (comment)

Add unit test for this corner case.

We need to reset the "flushed" flag on each write() invocation.
Otherwise we would buffer data and never flush it out as demonstrated in
max-heller#4 (comment)

Add unit test for this corner case.
@thomasjfox thomasjfox force-pushed the fix-write-after-flush branch from ec7b14a to 6dd0a2c Compare April 24, 2024 07:41
Copy link
Owner

@max-heller max-heller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the contribution!

@max-heller max-heller merged commit 63ea22f into max-heller:main May 4, 2024
4 checks passed
@max-heller
Copy link
Owner

Released in v0.3.1

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.

2 participants