diff options
| author | ruki <[email protected]> | 2019-12-07 21:14:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-12-07 21:14:25 +0800 |
| commit | fdaddc5793ee13bf78befd08412c3278bd861360 (patch) | |
| tree | bad44a833571c402de68aa2bb3368b9cc1fc2953 /core/src | |
| parent | 80a87e861943cb89f4a191ac62cf3d50ee375ebd (diff) | |
impl runloop for scheduler
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/io/poller_wait.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/xmake/io/poller_wait.c b/core/src/xmake/io/poller_wait.c index 995815319..2589025c2 100644 --- a/core/src/xmake/io/poller_wait.c +++ b/core/src/xmake/io/poller_wait.c @@ -58,10 +58,6 @@ tb_int_t xm_io_poller_wait(lua_State* lua) // check tb_assert_and_check_return_val(lua, 0); - // is user data? - if (!lua_isuserdata(lua, 1)) - return 0; - // get timeout tb_long_t timeout = (tb_long_t)luaL_checknumber(lua, 1); |
