LibWeb/HTML: Use finalize to clean up MessagePort instances

This commit is contained in:
Shannon Booth 2025-01-01 01:20:37 +13:00 committed by Andreas Kling
parent 0b2c80e503
commit e767029e24
Notes: github-actions[bot] 2025-01-02 10:39:57 +00:00
2 changed files with 9 additions and 5 deletions

View file

@ -68,6 +68,7 @@ private:
explicit MessagePort(JS::Realm&);
virtual void initialize(JS::Realm&) override;
virtual void finalize() override;
virtual void visit_edges(Cell::Visitor&) override;
bool is_entangled() const;