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 /xmake/core/ui/program.lua | |
| parent | 7e5870ef2043745e43d3eef8d578edaaf6a8b219 (diff) | |
fix high cpu usage bug
Diffstat (limited to 'xmake/core/ui/program.lua')
| -rw-r--r-- | xmake/core/ui/program.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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? |
