From 38fbe89b4c925cca930cd24c0e23b12722d2d61e Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Wed, 21 Mar 2018 11:57:09 -0700 Subject: [PATCH] Don't use an IterationLoop for main indexer. This causes the indexer to exit. --- src/import_pipeline.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/import_pipeline.cc b/src/import_pipeline.cc index 3fcff636..27d52411 100644 --- a/src/import_pipeline.cc +++ b/src/import_pipeline.cc @@ -625,8 +625,7 @@ void Indexer_Main(Config* config, // Build one index per-indexer, as building the index acquires a global lock. auto indexer = IIndexer::MakeClangIndexer(); - IterationLoop loop; - while (loop.Next()) { + while (true) { bool did_work = false; {