LibWeb: Don't have Handle<Realm> in WindowEnvironmentSettingsObject

This was preventing window realms from ever being garbage collected.
This commit is contained in:
Andreas Kling 2022-09-01 12:14:28 +02:00
commit c569c88e63
Notes: sideshowbarker 2024-07-17 07:27:55 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ public:
private:
WindowEnvironmentSettingsObject(Window&, NonnullOwnPtr<JS::ExecutionContext>);
JS::Handle<Window> m_window;
WeakPtr<Window> m_window;
};
}