mirror of
https://github.com/lune-org/lune.git
synced 2025-04-10 21:40:54 +01:00
track thread
This commit is contained in:
parent
42873f6383
commit
14d0bcbe9c
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ impl RequireContext {
|
||||||
.into_lua_thread(lua)?;
|
.into_lua_thread(lua)?;
|
||||||
|
|
||||||
let thread_id = lua.push_thread_back(thread, ())?;
|
let thread_id = lua.push_thread_back(thread, ())?;
|
||||||
|
lua.track_thread(thread_id);
|
||||||
lua.wait_for_thread(thread_id).await;
|
lua.wait_for_thread(thread_id).await;
|
||||||
|
|
||||||
let multi = lua
|
let multi = lua
|
||||||
|
|
Loading…
Add table
Reference in a new issue