mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +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:
parent
5f4d4ffe39
commit
c569c88e63
Notes:
sideshowbarker
2024-07-17 07:27:55 +09:00
Author: https://github.com/awesomekling
Commit: c569c88e63
Pull-request: https://github.com/SerenityOS/serenity/pull/14816
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/linusg ✅
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ public:
|
|||
private:
|
||||
WindowEnvironmentSettingsObject(Window&, NonnullOwnPtr<JS::ExecutionContext>);
|
||||
|
||||
JS::Handle<Window> m_window;
|
||||
WeakPtr<Window> m_window;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue