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

Stdout should be flushed on exit #23205

Closed
solson opened this issue Mar 8, 2015 · 2 comments
Closed

Stdout should be flushed on exit #23205

solson opened this issue Mar 8, 2015 · 2 comments

Comments

@solson
Copy link
Member

solson commented Mar 8, 2015

See http://is.gd/SH4nll

This fails to print anything since "hey" in only written to the buffer and then never printed. Other BufWriters flush on drop but this isn't happening for Stdout at program exit.

@shepmaster
Copy link
Member

Looks like a duplicate of #23191, which is closed in favor of #20012

@alexcrichton
Copy link
Member

Indeed, thanks @shepmaster!

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

No branches or pull requests

3 participants