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

Don't quit the FS when checking for unflushed stream content in assertions mode #6038

Merged
merged 1 commit into from
Jan 10, 2018

Conversation

kripken
Copy link
Member

@kripken kripken commented Jan 7, 2018

Instead, flush the proper streams carefully, as it is possible to notice if the FS was quit. Add test (that failed before) in node and browser.

Also, FS.devices is used as a map, define it as one (to avoid JS engines allocating a flat array).

…tions mode - flush the proper streams carefully
@kripken
Copy link
Member Author

kripken commented Jan 10, 2018

This was verified as fixing that clang-in-browser bug.

@juj
Copy link
Collaborator

juj commented Jan 10, 2018

lgtm

@kripken kripken merged commit 7d7804d into incoming Jan 10, 2018
@kripken kripken deleted the fs_careful branch January 10, 2018 17:33
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