Skip to content

Fix logging messages after flush()#7

Merged
max-heller merged 1 commit into
max-heller:mainfrom
thomasjfox:fix-write-after-flush
May 4, 2024
Merged

Fix logging messages after flush()#7
max-heller merged 1 commit into
max-heller:mainfrom
thomasjfox:fix-write-after-flush

Conversation

@thomasjfox
Copy link
Copy Markdown
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
#4 (comment)

Add unit test for this corner case.
Copy link
Copy Markdown
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
@max-heller
Copy link
Copy Markdown
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