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

Mark a teed WarnIfUnusedStream as read #1839

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Mar 15, 2024

When tee'ing an internal stream that was already teed, we'll end up with an extraneous unused stream warning if we don't mark it read.

Fixes: #983

Verified

This commit was signed with the committer’s verified signature.
Okeanos Nikolas Grottendieck
When tee'ing an internal streams that was already teed, we'll end
up with an extraneous unused stream warning if we don't mark it
read.

Fixes: #983
@jasnell jasnell merged commit fbf4764 into main Mar 15, 2024
10 checks passed
@jasnell jasnell deleted the jsnell/squash-teed-warnifunusedstream-warning branch March 15, 2024 15:22
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.

🐛 BUG: Tee-ing a stream twice incorrectly detects buffering
2 participants