From f196a025ace6cde7d87f0b48b315a4b2e9fa61f9 Mon Sep 17 00:00:00 2001 From: iaom Date: Fri, 8 Mar 2024 17:58:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(file-index):=E8=A7=A3=E5=86=B3=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=89=80=E6=9C=89=E7=B4=A2=E5=BC=95=E5=90=8E=E5=86=8D?= =?UTF-8?q?=E6=89=93=E5=BC=80=E7=9B=91=E5=90=AC=E4=B8=A2=E5=A4=B1=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libsearch/index/index-scheduler.cpp | 1 + 1 file changed, 1 insertion(+) 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();