File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Libraries/LibWeb/HTML/Scripting Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,10 @@ EnvironmentSettingsObject::EnvironmentSettingsObject(NonnullOwnPtr<JS::Execution
44
44
responsible_event_loop ().register_environment_settings_object ({}, *this );
45
45
}
46
46
47
- EnvironmentSettingsObject::~EnvironmentSettingsObject ()
47
+ void EnvironmentSettingsObject::finalize ()
48
48
{
49
49
responsible_event_loop ().unregister_environment_settings_object ({}, *this );
50
+ Base::finalize ();
50
51
}
51
52
52
53
void EnvironmentSettingsObject::initialize (JS::Realm& realm)
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ struct EnvironmentSettingsObject : public Environment {
76
76
GC_CELL (EnvironmentSettingsObject, Environment);
77
77
78
78
public:
79
- virtual ~EnvironmentSettingsObject () override ;
79
+ virtual void finalize () override ;
80
80
virtual void initialize (JS::Realm&) override ;
81
81
82
82
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-target-browsing-context
You can’t perform that action at this time.
0 commit comments