summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/fiber.lua
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-03-26 22:27:53 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-03-26 22:27:53 +0200
commit7a22e159708e366edaeba2d4284b4a75c0a9d19b (patch)
tree3ed34ebf3895397c5b601e75447be30908fa85cb /indra/newview/scripts/lua/fiber.lua
parent24a7842b9b08dc5cfb89fe36e5ebcd9c2598fa44 (diff)
parent31f1988fb592352cf4c4730d482c9f451cc51da2 (diff)
Merge branch 'release/luau-scripting' into luau-keystroke
Diffstat (limited to 'indra/newview/scripts/lua/fiber.lua')
-rw-r--r--indra/newview/scripts/lua/fiber.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/scripts/lua/fiber.lua b/indra/newview/scripts/lua/fiber.lua
index 7dc67f510c..aebf27357f 100644
--- a/indra/newview/scripts/lua/fiber.lua
+++ b/indra/newview/scripts/lua/fiber.lua
@@ -222,8 +222,6 @@ local function scheduler()
-- processing to the main thread. If called from a coroutine, pass control
-- back to the main thread.
if coroutine.running() then
- -- seize the opportunity to make sure the viewer isn't shutting down
--- check_stop()
-- this is a real coroutine, yield normally to main thread
coroutine.yield()
-- main certainly still exists
@@ -240,7 +238,7 @@ local function scheduler()
repeat
for co in live_ready_iter do
-- seize the opportunity to make sure the viewer isn't shutting down
--- check_stop()
+ LL.check_stop()
-- before we re-append co, is it the only remaining entry?
others = next(ready)
-- co is live, re-append it to the ready list