mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
Update lua state when polling futures
This commit is contained in:
@@ -1840,6 +1840,7 @@ impl Lua {
|
||||
}
|
||||
|
||||
let lua = &mut *lua;
|
||||
lua.state = state;
|
||||
|
||||
// Try to get an outer poll waker
|
||||
let waker_key = &WAKER_REGISTRY_KEY as *const u8 as *const c_void;
|
||||
|
||||
Reference in New Issue
Block a user