From d8f621e9ec860792fe0b9079b0091b41f92f4a82 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 17 Sep 2017 20:14:45 +0200 Subject: [PATCH] make forceDirectoryCheck() to desactivate the pause, in case it was left activated --- libretroshare/src/file_sharing/directory_updater.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libretroshare/src/file_sharing/directory_updater.cc b/libretroshare/src/file_sharing/directory_updater.cc index be8561246..9f708bd1f 100644 --- a/libretroshare/src/file_sharing/directory_updater.cc +++ b/libretroshare/src/file_sharing/directory_updater.cc @@ -96,6 +96,9 @@ void LocalDirectoryUpdater::forceUpdate() { mForceUpdate = true ; mLastSweepTime = 0 ; + + if(mHashCache != NULL && mHashCache->hashingProcessPaused()) + mHashCache->togglePauseHashingProcess(); } bool LocalDirectoryUpdater::sweepSharedDirectories()