source · Rust

Log

crates/vak-session/src/log.rs
Raw
80.7 KB2,022 lines75 anchorsSnapshot ed4ab258
  1. 2015
  2. 2016 let duplicate = log.file.file.try_clone().unwrap();
  3. 2017 drop(log);
  4. 2018 SessionLog::open(path).expect("the dropped handle's lock stayed with a duplicate");
  5. 2019 drop(duplicate);
  6. 2020 }
  7. 2021}
  8. 2022