mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-03 22:04:24 +00:00 
			
		
		
		
	Don't use an IterationLoop for main indexer.
This causes the indexer to exit.
This commit is contained in:
		
							parent
							
								
									23bf95b5e3
								
							
						
					
					
						commit
						38fbe89b4c
					
				@ -625,8 +625,7 @@ void Indexer_Main(Config* config,
 | 
				
			|||||||
  // Build one index per-indexer, as building the index acquires a global lock.
 | 
					  // Build one index per-indexer, as building the index acquires a global lock.
 | 
				
			||||||
  auto indexer = IIndexer::MakeClangIndexer();
 | 
					  auto indexer = IIndexer::MakeClangIndexer();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  IterationLoop loop;
 | 
					  while (true) {
 | 
				
			||||||
  while (loop.Next()) {
 | 
					 | 
				
			||||||
    bool did_work = false;
 | 
					    bool did_work = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user