mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-17 16:49:02 +00:00
Derivatives of Core::Object should be constructed through ClassName::construct(), to avoid handling ref-counted objects with refcount zero. Fixing the visibility means that misuses like this are more difficult. This commit is separate from the other Servives changes because it required additional adaption of the code. Note that the old code did precisely what these changes try to prevent: Create and handle a ref-counted object with a refcount of zero.
2.1 KiB
2.1 KiB