diff options
| author | ruki <[email protected]> | 2022-02-08 22:41:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-02-08 22:41:02 +0800 |
| commit | 26af8f1eb23348c435bf535522e220a7c8b02af6 (patch) | |
| tree | ec2a8c3486967f80b6d009cf6f482b79ade44652 /xmake/core/base/coroutine.lua | |
| parent | 2de89897498bd3f6eeb8dc130206dc53d3c7efa7 (diff) | |
debug stuck backtrace
Diffstat (limited to 'xmake/core/base/coroutine.lua')
| -rw-r--r-- | xmake/core/base/coroutine.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/core/base/coroutine.lua b/xmake/core/base/coroutine.lua index 2f1c347a8..43a5d6d8a 100644 --- a/xmake/core/base/coroutine.lua +++ b/xmake/core/base/coroutine.lua @@ -31,8 +31,6 @@ coroutine._resume = coroutine._resume or coroutine.resume -- resume coroutine function coroutine.resume(co, ...) - - -- resume it local ok, results = coroutine._resume(co, ...) if not ok then @@ -47,12 +45,8 @@ function coroutine.resume(co, ...) errors = results:sub(pos + 1) end end - - -- failed return false, errors end - - -- ok return true, results end |
