Update lua state when polling futures
This commit is contained in:
parent
5293b8d6d2
commit
5199b02346
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue