diff options
| author | ruki <[email protected]> | 2022-08-30 22:54:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-30 22:54:29 +0800 |
| commit | 01bf39e3ee357a63da987921f18e0c26f49445ec (patch) | |
| tree | b9889503878cd0e43735829a4281968fe2caeca1 | |
| parent | 8aa538adbd840ae27a5f693c5117f17153dd49de (diff) | |
add issue link
| -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) |
