diff options
| -rw-r--r-- | xmake/modules/private/async/jobpool.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/async/jobpool.lua b/xmake/modules/private/async/jobpool.lua index 84e85deaf..0b20cd5f4 100644 --- a/xmake/modules/private/async/jobpool.lua +++ b/xmake/modules/private/async/jobpool.lua @@ -124,6 +124,7 @@ function jobpool:pop() -- update all parents nodes for _, p in ipairs(parents) do -- we need avoid add it the leafjobs repeatly, it will cause dead-loop when poping group job + -- @see https://github.com/xmake-io/xmake/issues/2740 if not p._leaf then p._priority = math.max(p._priority or 0, priority + 1) p._deps:remove(job) |
