mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-08 16:12:23 +02:00
We never want to capture GC::Roots in GC::Function lambdas, since that very easily creates reference cycles and leak huge object graphs. Capturing a raw pointer or GC::Ptr/Ref is fine, since that's exactly what GC::Function is good at.
78 KiB
78 KiB