mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 18:06:56 +02: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.
1.5 KiB
1.5 KiB