From 26af8f1eb23348c435bf535522e220a7c8b02af6 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 8 Feb 2022 22:41:02 +0800 Subject: debug stuck backtrace --- xmake/core/base/coroutine.lua | 6 ------ 1 file changed, 6 deletions(-) (limited to 'xmake/core/base/coroutine.lua') 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 -- cgit v1.3.1