summaryrefslogtreecommitdiff
path: root/xmake/core/base/thread.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-07-17 23:56:30 +0800
committerruki <[email protected]>2026-07-17 23:56:30 +0800
commit831d2df02925c3744786790df47dea9184437649 (patch)
tree6edcdb4deaf44776a8914c5b3235338b49ac91fc /xmake/core/base/thread.lua
parent4d7c731fb5029204f1a557acccbcb6fb4d961f3b (diff)
rename sandbox.load to sandbox.call
Diffstat (limited to 'xmake/core/base/thread.lua')
-rw-r--r--xmake/core/base/thread.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/thread.lua b/xmake/core/base/thread.lua
index 187f98d53..6c3fc5169 100644
--- a/xmake/core/base/thread.lua
+++ b/xmake/core/base/thread.lua
@@ -942,7 +942,7 @@ function thread._run_thread(callback_str, callinfo_str)
end
-- do callback
- local ok, errors = sandbox.load(sandbox_inst:script(), table.unpack(argv or {}))
+ local ok, errors = sandbox.call(sandbox_inst:script(), table.unpack(argv or {}))
-- thread is finished, we need to notify the waited thread
if wpipe then