mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-01 21:37:00 +00:00
SafeFunction was causing massive GC reference cycles here and leaking entire realms as a result. Since we end up storing these reaction steps in a JS::NativeFunction (which uses JS::HeapFunction internally) there should be no need to protect the captures with SafeFunction. This dramatically shrinks our memory footprint while running tests.