summaryrefslogtreecommitdiff
path: root/src/database/file_gatherer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/file_gatherer.cpp')
-rw-r--r--src/database/file_gatherer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database/file_gatherer.cpp b/src/database/file_gatherer.cpp
index 55777139..0809ee0d 100644
--- a/src/database/file_gatherer.cpp
+++ b/src/database/file_gatherer.cpp
@@ -70,6 +70,7 @@ auto FileGathererImpl::FindFiles(
}
}
+ auto lock = drivers::acquire_spi();
f_closedir(&dir);
to_explore.pop_front();
}