From 98ddc05c4542cccce986e4a9e8f78108d5b8c28c Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Sat, 14 Dec 2024 10:41:54 -0800 Subject: [PATCH] lib: don't flush async --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e7639033..3ef775c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -64,7 +64,6 @@ fn bspatch_rs(py: Python<'_>, source: i32, patch: &[u8]) -> io::Result> file.set_len(target.len() as u64)?; std::mem::forget(file); } - mmap.flush_async()?; Ok(target) }) }