Files
browser/src
Karl Seguin 5d96304332 Allow [schedule] tasks to have finalizers
There's no guarantee that a task will ever be run. A page can be shutdown by
the user or timeout or an error. Scheduler cleanup relies on the underlying
page.arena. This forces all tasks to rely on the page.arena as they have no way
to clean themselves.

This commit allows tasks to register a finalizer which is guaranteed to be
called when the scheduler is shutdown.

The window ScheduleCallback, PostMessageCallback now use an arena from the
ArenaPool rather than the page.arena and use the task finalizer to ensure the
arena is released on shutdown.
2026-01-30 17:23:03 +08:00
..
2026-01-29 21:00:06 +08:00
2026-01-19 07:36:46 +08:00
2026-01-24 07:59:41 +08:00
2026-01-24 07:59:41 +08:00
2026-01-19 09:12:16 +08:00
2026-01-29 14:45:09 +08:00
2026-01-19 07:36:46 +08:00
2026-01-24 07:59:41 +08:00
2026-01-29 19:44:10 +08:00