Skip to content

Commit eeb1938

Browse files
committed
Revert "[clangd] Wait for stdlib indexing to finish before destroying the index"
This reverts commit 7a268b8.
1 parent 269a694 commit eeb1938

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang-tools-extra/clangd/ClangdServer.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,6 @@ ClangdServer::ClangdServer(const GlobalCompilationDatabase &CDB,
233233
}
234234

235235
ClangdServer::~ClangdServer() {
236-
// Wait for stdlib indexing to finish.
237-
if (IndexTasks)
238-
IndexTasks->wait();
239236
// Destroying TUScheduler first shuts down request threads that might
240237
// otherwise access members concurrently.
241238
// (Nobody can be using TUScheduler because we're on the main thread).

0 commit comments

Comments
 (0)