mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
fix comment: check start time (#2038)
This commit is contained in:
@@ -163,7 +163,7 @@ static int
|
||||
timing_enable(lua_State *L, int co_index, lua_Number *start_time) {
|
||||
lua_pushvalue(L, co_index);
|
||||
lua_rawget(L, lua_upvalueindex(1));
|
||||
if (lua_isnil(L, -1)) { // check total time
|
||||
if (lua_isnil(L, -1)) { // check start time
|
||||
lua_pop(L, 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user