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
{{ message }}
Repository navigation
bug: using structuredClone with ReadableStream prevents process from exiting #44985
@ronag
This problem occurs not only with ReadableStream but also with WritableStream.
I am stuck on this point.
Could you please work on this instead of me?
Activity
KhafraDev commentedon Oct 13, 2022
A workaround is to
teethe cloned stream.ronag commentedon Oct 14, 2022
@jasnell @addaleax
ronag commentedon Oct 14, 2022
Ref: nodejs/undici#1700
KhafraDev commentedon Oct 18, 2022
It looks like 2 ports aren't unref'd
which from my best guess are these:
node/lib/internal/webstreams/readablestream.js
Lines 579 to 580 in 2672219
ronag commentedon Dec 10, 2023
@joyeecheung
tsctx commentedon Dec 10, 2023
@ronag
I have been able to solve this problem.
tsctx commentedon Dec 10, 2023
@ronag
This problem occurs not only with ReadableStream but also with WritableStream.
I am stuck on this point.
Could you please work on this instead of me?
ronag commentedon Dec 10, 2023
Sorry. Webstreams are beyond my expertise and frankly my interest...
tsctx commentedon Dec 10, 2023
I apologize for the inconvenience that I have caused you.
ronag commentedon Dec 10, 2023
No worries. No inconvenience at all. 🤗
Workaround nodejs/node#44985
stream: fix cloned webstreams not being unref'd
stream: fix cloned webstreams not being unref'd
mcollina commentedon Jan 19, 2024
Reopening after #51491
Revert: Workaround nodejs/node#44985
refactor: Use fetch for image runner again