Aliaksandr Kalenik
2e9c8ab669
LibWeb: Register shutdown-on-close handler once in ReadableStreamPipeTo
...
Previously, we added a `reader.closed()` promise reaction during every
`ReadableStreamPipeTo::process()` call, which meant allocating a new
reaction objects for every processed chunk and retaining all of them
until the stream closed. The same issue existed for `writer.closed()`
inside `ReadableStreamPipeTo::read_chunk()`.
This change registers a single shutdown handler for both the reader and
the writer in the ReadableStreamPipeTo constructor.
2025-12-08 13:57:14 -05:00
..
2025-09-24 11:54:42 +01:00
2025-08-23 16:04:36 -06:00
2024-12-11 15:11:21 +01:00
2025-08-22 20:26:09 +02:00
2024-11-15 14:49:20 +01:00
2025-08-22 20:26:09 +02:00
2024-11-15 14:49:20 +01:00
2024-11-17 22:37:45 +01:00
2024-11-17 22:37:45 +01:00
2024-11-17 22:37:45 +01:00
2024-11-15 14:49:20 +01:00
2025-07-20 12:30:43 +12:00
2025-04-18 06:55:40 -04:00
2025-08-14 10:27:08 +02:00
2025-07-18 10:09:02 -04:00
2025-04-14 17:43:11 -04:00
2025-04-20 18:43:11 +02:00
2025-04-14 17:43:11 -04:00
2025-05-14 02:01:59 -06:00
2024-11-15 14:49:20 +01:00
2025-04-20 18:43:11 +02:00
2024-11-15 14:49:20 +01:00
2025-04-20 18:43:11 +02:00
2024-11-15 14:49:20 +01:00
2025-04-30 09:30:15 -04:00
2025-05-14 02:01:59 -06:00
2025-04-18 06:55:40 -04:00
2024-11-15 14:49:20 +01:00
2025-04-18 06:55:40 -04:00
2025-04-18 06:55:40 -04:00
2025-12-08 13:57:14 -05:00
2025-12-08 13:57:14 -05:00
2025-04-18 06:55:40 -04:00
2025-04-18 06:55:40 -04:00
2025-08-05 07:07:15 -04:00
2025-08-23 16:04:36 -06:00
2025-08-14 10:27:08 +02:00
2025-07-18 10:09:02 -04:00
2025-04-20 18:43:11 +02:00
2025-04-18 06:55:40 -04:00
2025-04-18 06:55:40 -04:00
2025-04-18 06:55:40 -04:00
2025-08-05 07:07:15 -04:00
2025-08-23 16:04:36 -06:00
2025-08-05 07:07:15 -04:00
2025-08-23 16:04:36 -06:00
2025-08-14 10:27:08 +02:00
2025-07-18 10:09:02 -04:00
2025-04-20 18:43:11 +02:00
2025-04-11 12:10:46 -04:00
2025-04-20 18:43:11 +02:00
2024-11-16 18:33:58 +01:00
2025-04-18 06:55:40 -04:00
2025-04-18 06:55:40 -04:00