mirror of
https://github.com/lune-org/mlua-luau-scheduler.git
synced 2025-04-04 10:30:56 +01:00
Fix it some more
This commit is contained in:
parent
5fe52a211b
commit
8f5edbe954
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ pub trait LuaExecutorExt<'lua> {
|
|||
)?;
|
||||
|
||||
let rt = Runtime::new(&lua)?;
|
||||
rt.push_main(lua.load("spawnBackgroundTask()"), ());
|
||||
rt.push_thread(lua.load("spawnBackgroundTask()"), ());
|
||||
rt.run_blocking();
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Reference in a new issue