abort GC on server shutdown

This commit is contained in:
Dietmar Maurer
2019-04-01 12:13:02 +02:00
parent 9136f857cc
commit 92da93b245
5 changed files with 18 additions and 0 deletions

View File

@ -209,6 +209,9 @@ impl DataStore {
let image_list = self.list_images()?;
for path in image_list {
tools::fail_on_shutdown()?;
if let Some(ext) = path.extension() {
if ext == "fidx" {
let index = self.open_fixed_reader(&path)?;