mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibWeb: Don't have Handle<Realm> in WindowEnvironmentSettingsObject
This was preventing window realms from ever being garbage collected.
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
private:
|
||||
WindowEnvironmentSettingsObject(Window&, NonnullOwnPtr<JS::ExecutionContext>);
|
||||
|
||||
JS::Handle<Window> m_window;
|
||||
WeakPtr<Window> m_window;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user