Skip to content

fix: add timeout on close to flush the I/O operations#52

Open
daiyam wants to merge 1 commit intooverlookmotel:masterfrom
daiyam:fix-flush-io
Open

fix: add timeout on close to flush the I/O operations#52
daiyam wants to merge 1 commit intooverlookmotel:masterfrom
daiyam:fix-flush-io

Conversation

@daiyam
Copy link

@daiyam daiyam commented Jan 5, 2026

Hi,

In the tests, there some setTimeout call to have the reader correctly closed.
This PR is moving the setTimeout call inside the close method so it's more consistent.

I found this fix while making https://github.com/zokugun/node-yauzl-plus

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.

1 participant