Panic on index-out-of-bounds when releasing RCC node

This commit is contained in:
David Flemström 2024-06-29 01:37:35 +02:00
parent 114dda2fd1
commit 662e97f7b5

View File

@ -211,6 +211,8 @@ impl RccInfo {
if *refcount > 0 {
return;
}
} else {
panic!("refcount_idx out of bounds: {}", refcount_idx)
}
}