feat(mremap): KEEP_OLD
Signed-off-by: Anhad Singh <andypython@protonmail.com> Co-authored-by: @4lDO2
This commit is contained in:
@@ -370,6 +370,11 @@ impl RaiiFrame {
|
||||
pub fn get(&self) -> Frame {
|
||||
self.inner
|
||||
}
|
||||
pub fn take(self) -> Frame {
|
||||
let f = self.get();
|
||||
core::mem::forget(self);
|
||||
f
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for RaiiFrame {
|
||||
|
||||
Reference in New Issue
Block a user