diff --git a/repertory/librepertory/src/drives/fuse/fuse_drive.cpp b/repertory/librepertory/src/drives/fuse/fuse_drive.cpp index d8905818..ef3d21bd 100644 --- a/repertory/librepertory/src/drives/fuse/fuse_drive.cpp +++ b/repertory/librepertory/src/drives/fuse/fuse_drive.cpp @@ -247,6 +247,8 @@ auto fuse_drive::create_impl(std::string api_path, mode_t mode, } void fuse_drive::stop_all() { + REPERTORY_USES_FUNCTION_NAME(); + mutex_lock lock(stop_all_mtx_); auto future = std::async(std::launch::async, [this]() { diff --git a/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp b/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp index 73f726c2..0f31c3db 100644 --- a/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp +++ b/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp @@ -1152,6 +1152,8 @@ auto winfsp_drive::SetFileSize(PVOID /*file_node*/, PVOID file_desc, } void winfsp_drive::stop_all() { + REPERTORY_USES_FUNCTION_NAME(); + mutex_lock lock(stop_all_mtx_); auto future = std::async(std::launch::async, [this]() {