diff options
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | xmake/core/ui/program.lua | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e233efb9..3690a2631 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ ### Bug fixed * [#177](https://github.com/tboox/xmake/issues/177): Fix the dependent target link bug +* Fix high cpu usage bug and Exit issues for `$ xmake f --menu` ## v2.2.1 @@ -494,6 +495,7 @@ ### Bugs修复 * [#177](https://github.com/tboox/xmake/issues/177): 修复被依赖的动态库target,如果设置了basename后链接失败问题 +* 修复`$ xmake f --menu`中Exit问题以及cpu过高问题 ## v2.2.1 diff --git a/xmake/core/ui/program.lua b/xmake/core/ui/program.lua index d1099fb32..426d5aeed 100644 --- a/xmake/core/ui/program.lua +++ b/xmake/core/ui/program.lua @@ -215,6 +215,7 @@ function program:loop(argv) else -- do idle event self:event_on(event.idle()) + sleep = true end -- quit? |
