Skip to content
Discussion options

You must be logged in to vote

You're constructing a Buffer from an ArrayBuffer and passing that Buffer to Node.js. The ArrayBuffer is only valid in this callback, but Node.js's write method may take more time to actually write the buffer to disk.

You probably solve this by copying the buffer, not just referencing it.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #251 on December 09, 2020 05:43.