summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-06-08 01:54:24 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-07-19 20:58:27 +0200
commit1705ecbbff3c42d3072f7d9136ef04c17e863ec0 (patch)
treef4447c474bd4eb444f3b315542c81b71dc843c7c
parentb774ac0e678223469aebbf9659b88c36e381f44a (diff)
downloadimag-1705ecbbff3c42d3072f7d9136ef04c17e863ec0.zip
imag-1705ecbbff3c42d3072f7d9136ef04c17e863ec0.tar.gz
Fix: Remove (empty) Drop implementation for Store
The StoreEntry drop implementation takes care of unlocking the files.
-rw-r--r--lib/core/libimagstore/src/store.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/core/libimagstore/src/store.rs b/lib/core/libimagstore/src/store.rs
index 032f2c3..4b92ac5 100644
--- a/lib/core/libimagstore/src/store.rs
+++ b/lib/core/libimagstore/src/store.rs
@@ -665,19 +665,6 @@ impl Debug for Store {
}
-impl Drop for Store {
-
- ///
- /// Unlock all files on drop
- //
- /// TODO: Unlock them
- ///
- fn drop(&mut self) {
- debug!("Dropping store");
- }
-
-}
-
/// A struct that allows you to borrow an Entry
pub struct FileLockEntry<'a> {
store: &'a Store,