From 267fc7124dd43d1d07c6e64e1cd7dd78a2063234 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 17 May 2017 15:52:34 -0400 Subject: [PATCH] process threaded commands until they are all complete --- lib/rscons/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rscons/environment.rb b/lib/rscons/environment.rb index 82c7a5d..89e113b 100644 --- a/lib/rscons/environment.rb +++ b/lib/rscons/environment.rb @@ -285,7 +285,7 @@ module Rscons def process cache = Cache.instance begin - while @job_set.size > 0 + while @job_set.size > 0 or @threaded_commands.size > 0 targets_still_building = @threaded_commands.map do |tc| tc.build_operation[:target]