We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd44e1a commit e884909Copy full SHA for e884909
crates/wasmtime/src/runtime/vm/gc/enabled/drc.rs
@@ -142,7 +142,6 @@ impl DrcHeap {
142
143
fn dealloc(&mut self, gc_ref: VMGcRef) {
144
let drc_ref = drc_ref(&gc_ref);
145
- debug_assert_eq!(unsafe { *self.index(drc_ref).ref_count.get() }, 0);
146
let size = self.index(drc_ref).object_size();
147
let layout = FreeList::layout(size);
148
self.free_list
0 commit comments