fix(file-index):解决关闭所有索引后再打开监听丢失的问题
This commit is contained in:
parent
a5fce404d6
commit
f196a025ac
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue