/ servo Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
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.
- Loading branch information
Showing 1 changed file with 16 additions and 11 deletions.