diff options
Diffstat (limited to 'src/plugins/languageclient')
-rw-r--r-- | src/plugins/languageclient/locatorfilter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/languageclient/locatorfilter.cpp b/src/plugins/languageclient/locatorfilter.cpp index 8576f5658d..e3f34eba5e 100644 --- a/src/plugins/languageclient/locatorfilter.cpp +++ b/src/plugins/languageclient/locatorfilter.cpp @@ -146,8 +146,10 @@ Core::LocatorFilterEntry DocumentLocatorFilter::generateLocatorEntry(const Docum void DocumentLocatorFilter::prepareSearch(const QString &/*entry*/) { QMutexLocker locker(&m_mutex); - if (m_symbolCache && !m_currentSymbols.has_value()) + if (m_symbolCache && !m_currentSymbols.has_value()) { + locker.unlock(); m_symbolCache->requestSymbols(m_currentUri); + } } QList<Core::LocatorFilterEntry> DocumentLocatorFilter::matchesFor( |