mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-29 08:46:42 +00:00
In FetchAlgorithms, it is common for callbacks to capture realms. This can indirectly keep objects alive that hold FetchController with these callbacks. This creates a cyclic dependency. However, when JS::HeapFunction is used, this is not a problem, as captured by callbacks values do not create new roots.