1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 04:51:53 +02:00

* Oops, we better wipe our Lucene index inside the mutex lock.

This commit is contained in:
Christian Muehlhaeuser 2011-02-03 13:26:33 +01:00
parent a23d7c33af
commit 90535eed4e

View File

@ -35,8 +35,8 @@ FuzzyIndex::~FuzzyIndex()
void
FuzzyIndex::beginIndexing()
{
lucene::index::IndexWriter luceneWriter = lucene::index::IndexWriter( m_luceneDir, m_analyzer, true );
m_mutex.lock();
lucene::index::IndexWriter luceneWriter = lucene::index::IndexWriter( m_luceneDir, m_analyzer, true );
}