This commit is contained in:
ManyTheFish
2023-09-12 10:04:47 +02:00
parent 1fb7782777
commit 260633b662
8 changed files with 34 additions and 27 deletions

View File

@@ -223,7 +223,9 @@ impl IndexMap {
enable_mdb_writemap: bool,
map_size_growth: usize,
) {
let Some(index) = self.available.remove(uuid) else { return; };
let Some(index) = self.available.remove(uuid) else {
return;
};
self.close(*uuid, index, enable_mdb_writemap, map_size_growth);
}