mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
It's pretty confusing when a CObject is owned both by its parent-child relationship, but also by an ObjectPtr member in the parent. In those cases, we have to make sure we both unparent the child *and* reove it from the ObjectPtr. This will become a bit less confusing when ObjectPtr becomes RefPtr, although still not crystal clear. I'm not sure what the solution is.
4.9 KiB
4.9 KiB