mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
LibWeb: Revoke outstanding WeakPtrs on wrapper zombification
This fixes an issue with false positives in the GC zombie debugger.
This commit is contained in:
parent
0d2c3f62d3
commit
2253235a0f
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ protected:
|
|||
: Object(prototype)
|
||||
{
|
||||
}
|
||||
|
||||
virtual void did_become_zombie() override { revoke_weak_ptrs(); }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue