Verified Commit 028378b8 authored by jD91mZM2's avatar jD91mZM2
Browse files

Fix double close

Accidentally made file references not count as references and therefore also close the fd. My bad.
parent 418a960f
Pipeline #1446 failed with stages
in 8 minutes and 29 seconds
......@@ -68,7 +68,7 @@ impl File {
pub unsafe fn get_ref(&self) -> Self {
Self {
fd: self.fd,
reference: false
reference: true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment