diff options
| author | ruki <[email protected]> | 2018-08-24 23:11:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-08-24 13:11:33 +0800 |
| commit | 435d980b622827b71c3f6d560f95b5f2bb7d1e68 (patch) | |
| tree | b3a45ad24aebe1144cd8d45be8b3f8606b005174 | |
| parent | 7e5870ef2043745e43d3eef8d578edaaf6a8b219 (diff) | |
fix high cpu usage bug
| -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? |
