diff options
Diffstat (limited to 'src/lua.rs')
-rw-r--r-- | src/lua.rs | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -2845,11 +2845,10 @@ impl Lua { LightUserData(&ASYNC_POLL_PENDING as *const u8 as *mut c_void) })?; - // We set `poll` variable in the env table to be able to destroy upvalues self.load( r#" - poll = get_poll(...) - local poll, pending, yield, unpack = poll, pending, yield, unpack + local poll = get_poll(...) + local pending, yield, unpack = pending, yield, unpack while true do local ready, res, nres = poll() if ready then |