summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-04-22 15:23:01 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-04-22 15:23:01 (GMT)
commit01402277db54d9fddaa12878f6db7f02c8d8e7ef (patch)
tree694dcf1dc464177b3e01a6043a48ccb7721e054b /src/main.c
parent40c139384b25e89f9308f0d493e1c9ff0318a3cb (diff)
Ensured all tasks are completed before exiting batch mode.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 626cae8..0abc29f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -340,7 +340,7 @@ int main(int argc, char **argv)
result = open_binaries(argv + optind, argc - optind);
if (batch_mode)
- g_work_queue_wait_for_completion(get_work_queue(), DEFAULT_WORK_GROUP);
+ g_work_queue_wait_for_all_completions(get_work_queue());
else
gtk_main();