LibWeb: Add missing call to Base::finalize() in HTMLMediaElement

This commit is contained in:
Timothy Flynn 2024-04-25 08:11:11 -04:00 committed by Andreas Kling
parent 84fd37704e
commit f13ccb9a61

View file

@ -70,6 +70,7 @@ void HTMLMediaElement::initialize(JS::Realm& realm)
void HTMLMediaElement::finalize()
{
Base::finalize();
document().page().unregister_media_element({}, unique_id());
}