Files
node/test/parallel
Trivikram Kamat 9f37c77138 quic: release stream arenas before cleanup
Release QUIC stream stats and state arena slots when the stream is
destroyed instead of from the Stream destructor.
Realm cleanup destroys QUIC binding data before draining remaining
BaseObjects, so a stream that survives until process teardown must
not need BindingData from its destructor.

HTTP/3 header callbacks can synchronously destroy their stream. Check
whether the stream was destroyed after those callbacks before accessing
its arena-backed state, and make repeated native destruction safe after
the slots have been released.

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: codex:gpt-5.6-sol
PR-URL: https://github.com/nodejs/node/pull/65410
Fixes: https://github.com/nodejs/node/issues/65408
Reviewed-By: James M Snell <jasnell@gmail.com>
2026-08-27 02:44:30 +00:00
..
2026-08-05 22:50:13 -07:00