You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the auto-destruction of the Duplex does not appropriately wait for the completion of the async _construct(). Changing the construction options to { readable: true } causes the code to work as expected:
Ensures that _construct has finished before invoking
_destroy.
The 'constructed' property was not properly set to false
for both writable and readable state.
Fixes: nodejs#34448
Ensures that _construct has finished before invoking
_destroy.
The 'constructed' property was not properly set to false
for both writable and readable state.
Fixes: #34448
PR-URL: #34456
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@nodejs/streams @ronag
Try..
Outputs:
Note that the auto-destruction of the
Duplex
does not appropriately wait for the completion of the async_construct()
. Changing the construction options to{ readable: true }
causes the code to work as expected:Outputs:
The text was updated successfully, but these errors were encountered: