diff --git a/libsearch/index/index-scheduler.cpp b/libsearch/index/index-scheduler.cpp index 8f47fca..1fbd2eb 100644 --- a/libsearch/index/index-scheduler.cpp +++ b/libsearch/index/index-scheduler.cpp @@ -121,6 +121,7 @@ void IndexScheduler::stop(BatchIndexer::Targets target) } if(m_indexStop.LOAD && m_contentIndexStop.LOAD && m_ocrContentIndexStop.LOAD) { m_fileWatcher.removeWatch(); + m_watchInstalled = false; m_threadPool.clear(); m_threadPool.waitForDone(-1); m_threadPoolForRTUpdate.clear();