aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 2c29f651a..9d9d6120f 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -5685,8 +5685,7 @@ ParseFileError parse_packages(Parser *p, String init_filename) {
}
}
- thread_pool_start(&parser_thread_pool);
- thread_pool_wait_to_process(&parser_thread_pool);
+ thread_pool_wait(&parser_thread_pool);
for (ParseFileError err = ParseFile_None; mpmc_dequeue(&p->file_error_queue, &err); /**/) {
if (err != ParseFile_None) {