mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 11:27:07 +00:00
Don't use an IterationLoop for main indexer.
This causes the indexer to exit.
This commit is contained in:
parent
1afb6c3988
commit
7e6965afe3
@ -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;
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user