mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-25 01:47:28 +00:00
In addition to being reference-counted, all nodes that are part of a document must also keep the document alive. This is achieved by adding a second ref-count to the Document object and incrementing/decrementing it whenever a node is created/destroyed in that document. This brings us much closer to a proper DOM lifetime model, although the JS bindings still need more work.
12 KiB
12 KiB