File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/index Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,12 @@ public static void main(String[] argv) {
422422 System .exit (1 );
423423 } finally {
424424 env .shutdownSearchExecutor ();
425+ /*
426+ * Normally the IndexParallelizer is bounced (i.e. thread pools within are terminated)
427+ * via auto-closed in doIndexerExecution(), however there are cases (--noIndex) that
428+ * avoid that path, yet use the IndexParallelizer. So, bounce it here for a good measure.
429+ */
430+ env .getIndexerParallelizer ().bounce ();
425431 stats .report (LOGGER , "Indexer finished" , "indexer.total" );
426432 }
427433 }
@@ -1046,7 +1052,7 @@ public void prepareIndexer(RuntimeEnvironment env,
10461052 List <String > repositories ) throws IndexerException , IOException {
10471053
10481054 if (!env .validateUniversalCtags ()) {
1049- throw new IndexerException ("Could not find working Universal ctags . " +
1055+ throw new IndexerException ("Could not find working Universal . " +
10501056 "Pro tip: avoid installing Universal ctags from snap packages." );
10511057 }
10521058
You can’t perform that action at this time.
0 commit comments