diff options
| author | ruki <[email protected]> | 2021-07-09 22:52:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-07-09 11:23:39 +0800 |
| commit | f1220d5f22e936744129d07cb06ccc0f5127d5d6 (patch) | |
| tree | ebb485a4666c06a82c2747946f90b8cbe5a2e451 /xmake/core/base/scheduler.lua | |
| parent | 0b09f8fe41184b539e1bbf3aa0086794a77708a0 (diff) | |
fix timer jobs and envs bug
Diffstat (limited to 'xmake/core/base/scheduler.lua')
| -rw-r--r-- | xmake/core/base/scheduler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/scheduler.lua b/xmake/core/base/scheduler.lua index 1165538d7..70ba07414 100644 --- a/xmake/core/base/scheduler.lua +++ b/xmake/core/base/scheduler.lua @@ -551,7 +551,7 @@ end -- get waiting objects for the given group name function scheduler:co_group_waitobjs(name) local objs = hashset.new() - for _, co in ipairs(self:co_group(name)) do + for _, co in ipairs(table.wrap(self:co_group(name))) do if not co:is_dead() then local obj = co:waitobj() if obj then |
