mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Don't assert when we do a rule tree GC and the root nodes still has strong references.
It could still have children.
This commit is contained in:
parent
226c946817
commit
d92cc8ecd0
1 changed files with 1 additions and 2 deletions
|
@ -440,8 +440,7 @@ impl StrongRuleNode {
|
|||
// script.
|
||||
debug_assert!(!thread_state::get().is_worker() &&
|
||||
(thread_state::get().is_layout() ||
|
||||
(thread_state::get().is_script() &&
|
||||
me.refcount.load(Ordering::SeqCst) == 0)));
|
||||
thread_state::get().is_script()));
|
||||
let current = me.next_free.load(Ordering::SeqCst);
|
||||
|
||||
if current == FREE_LIST_SENTINEL {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue