Fix add_ref(Shared) refcounting bug.

This commit is contained in:
4lDO2
2024-06-23 00:35:58 +02:00
parent 7d5b2e6c21
commit 9b68d4de80
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -643,7 +643,7 @@ pub fn init_mm(allocator: BumpAllocator<RmmA>) {
THE_ZEROED_FRAME.get().write(Some((the_frame, the_info)));
}
}
#[derive(Debug)]
#[derive(Debug, PartialEq)]
pub enum AddRefError {
CowToShared,
SharedToCow,