Panic on index-out-of-bounds when releasing RCC node
This commit is contained in:
parent
114dda2fd1
commit
662e97f7b5
@ -211,6 +211,8 @@ impl RccInfo {
|
|||||||
if *refcount > 0 {
|
if *refcount > 0 {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
panic!("refcount_idx out of bounds: {}", refcount_idx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user