cleaner drop impl for lock
This commit is contained in:
parent
59c6c5465b
commit
be7f27d48d
1 changed files with 1 additions and 3 deletions
|
@ -87,9 +87,7 @@ impl Lock {
|
|||
|
||||
impl Drop for Lock {
|
||||
fn drop(&mut self) {
|
||||
match self.delete_lock_file() {
|
||||
_ => (),
|
||||
}
|
||||
let _ = self.delete_lock_file();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue