servo/components/style/rule_tree
Emilio Cobos Álvarez 65f239c9e1
style: Don't assume siblings are alive in the rule tree when removing ourselves from the child list.
We can't assume all our siblings are alive because they may very well be in the
free list too.

This tempts to happen when the rule nodes are destroyed as part of the last GC,
the one that runs in the root destructor.

Also, properly put the next sibling back into the list when the rules are GCd.
2016-11-10 17:56:54 +01:00
..
mod.rs style: Don't assume siblings are alive in the rule tree when removing ourselves from the child list. 2016-11-10 17:56:54 +01:00