indexer/store: avoid completed callback

This cause havoc / race conditions.
This commit is contained in:
Dirk-Jan C. Binnema
2022-05-18 20:16:48 +03:00
parent c3778cd467
commit 9af9d0fa94
4 changed files with 26 additions and 24 deletions

View File

@ -110,6 +110,13 @@ public:
*/
const Progress& progress() const;
/**
* Last time indexing was completed.
*
* @return the time or 0
*/
time_t completed() const;
private:
struct Private;
std::unique_ptr<Private> priv_;