mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
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 {
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
panic!("refcount_idx out of bounds: {}", refcount_idx)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user