trop[bot]
3dcb641a99
fix: crash calling OSR shared texture release() after texture GC'd ( #50501 )
...
The weak persistent tracking the OffscreenReleaseHolderMonitor was tied
to the texture object, but the release() closure holds a raw pointer to
the monitor via its v8::External data. If JS retained texture.release
while dropping the texture itself, the monitor would be freed on GC and
a later release() call would crash.
Track the release function instead of the texture object. Since the
texture holds release as a property, this keeps the monitor alive as
long as either is reachable.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sam Attard <sattard@anthropic.com >
2026-03-26 00:49:57 -07:00
..
2026-03-25 22:15:58 -07:00
2026-02-17 16:19:16 -05:00
2025-09-26 16:34:06 -04:00
2026-03-26 00:49:57 -07:00
2026-02-17 16:19:16 -05:00
2026-02-05 13:13:13 -05:00
2022-04-28 10:28:27 -04:00
2025-04-28 11:39:12 -04:00
2023-09-01 15:54:59 +09:00
2026-02-18 13:23:53 -05:00
2025-06-26 11:41:30 +02:00
2026-02-18 13:23:53 -05:00
2025-02-05 15:13:29 +09:00
2025-11-05 11:00:51 -08:00
2025-09-08 12:57:15 +02:00
2025-09-08 12:57:15 +02:00
2026-03-04 13:37:50 -06:00
2026-03-04 13:37:50 -06:00
2025-05-21 12:04:36 -05:00
2022-06-29 12:55:47 -07:00
2025-09-08 12:57:15 +02:00
2025-09-08 12:57:15 +02:00
2025-11-10 13:27:35 +01:00
2026-02-02 09:38:46 +01:00
2026-02-02 09:38:46 +01:00
2025-02-20 20:19:48 -05:00
2021-11-22 16:34:31 +09:00
2025-03-24 10:09:14 +01:00
2025-03-06 16:04:18 -05:00
2024-01-10 19:00:37 -06:00
2025-04-22 15:53:29 -04:00
2020-05-04 10:49:29 -07:00
2024-07-25 11:25:45 +02:00
2021-11-22 16:34:31 +09:00
2025-12-04 16:40:04 -08:00
2021-11-22 16:34:31 +09:00
2024-10-23 14:18:22 -05:00
2024-10-23 14:18:22 -05:00
2024-08-20 15:34:59 -04:00
2024-07-22 11:31:32 +02:00
2025-11-07 11:23:52 +01:00
2024-07-22 11:31:32 +02:00
2024-09-12 16:05:37 +02:00
2024-07-22 11:31:32 +02:00
2026-02-25 12:56:35 -05:00
2025-07-28 10:22:27 -05:00
2024-09-27 10:17:06 +09:00
2026-02-17 16:19:16 -05:00
2025-07-30 09:14:38 -05:00
2026-03-09 23:26:10 +00:00
2022-06-29 12:55:47 -07:00
2026-02-19 12:47:16 +01:00
2025-10-10 12:48:44 +02:00
2025-10-11 18:00:04 -04:00
2024-11-27 10:40:39 -06:00
2026-01-07 14:30:09 -05:00
2024-02-21 15:27:05 -05:00
2025-11-10 13:27:35 +01:00
2024-08-12 10:28:33 +02:00
2024-09-16 15:53:04 -05:00
2025-03-14 10:59:15 -05:00
2025-10-17 13:04:24 -04:00
2024-10-10 09:34:55 -04:00
2022-11-17 14:59:23 -05:00
2026-02-18 13:22:36 -05:00
2026-02-18 13:22:36 -05:00
2025-02-10 16:09:11 -05:00
2021-11-22 16:34:31 +09:00