mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 07:34:59 +00:00
LibWeb: Use JS::SafeFunction for module fetching callbacks
This fixes another GC crash seen on https://shopify.com/ Found it by collecting garbage after every 500th heap allocation.
This commit is contained in:
parent
390ade3cf4
commit
66c41e7c45
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace Web::HTML {
|
||||
|
||||
using ModuleCallback = Function<void(JavaScriptModuleScript*)>;
|
||||
using ModuleCallback = JS::SafeFunction<void(JavaScriptModuleScript*)>;
|
||||
|
||||
class DescendantFetchingContext : public RefCounted<DescendantFetchingContext> {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue