summaryrefslogtreecommitdiff
path: root/src/database/file_gatherer.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-10-14 11:56:26 +1100
committerjacqueline <me@jacqueline.id.au>2023-10-14 11:59:34 +1100
commitf27670a112d90c6053e84b82d109793f87a40065 (patch)
tree3b3ffb983fe6805f1488062b362f3e4674b6c62e /src/database/file_gatherer.cpp
parentac320e376ec5c972fbfbfe373af52ce5e464baab (diff)
downloadtangara-fw-f27670a112d90c6053e84b82d109793f87a40065.tar.gz
acquire spi lock in the opus tag parser
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();
}