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
Implement event tracking in dart:io event loop #7390
Comments
A better title might be "VM does not wait for flush to finish when exit() is called" or "No way to wait for flush to finish before moving on" ? |
I think 'exit' has the right behavior as it is. However, we should provide insights into the event loop so people can figure out what they have pending. Turning this bug report into the feature request for that as discussed in issue #7362. Removed Area-VM label. |
Removed Priority-Medium label. |
Added this to the Later milestone. |
Removed Area-IO label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
There has been no progress on this. Added NotPlanned label. |
I called outputStream.flush() and then exit(0) but the stream was not flushed and the file was empty.
Can we have a way to know when the flush() is finished before we exit ?
The other way to do this is to shutdown all things that have something in the event queue but that's opaque so exit seemed appropriate.
The text was updated successfully, but these errors were encountered: