mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
LibWeb: Add missing call to Base::finalize() in HTMLMediaElement
This commit is contained in:
parent
84fd37704e
commit
f13ccb9a61
|
@ -70,6 +70,7 @@ void HTMLMediaElement::initialize(JS::Realm& realm)
|
|||
|
||||
void HTMLMediaElement::finalize()
|
||||
{
|
||||
Base::finalize();
|
||||
document().page().unregister_media_element({}, unique_id());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue