aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/scripts/coro/error_handling.lua
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-06-26 09:18:54 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2025-06-26 09:18:54 +0200
commitd7d756e30680bcff036118b47ac45b740e020ea2 (patch)
tree3e2a26409154760d66092e6e04a9fcb4ad4ed02a /unit_tests/scripts/coro/error_handling.lua
parent4f5fa626c0279f5aefac477a29702c43a6754c5a (diff)
downloadlanes-d7d756e30680bcff036118b47ac45b740e020ea2.tar.gz
lanes-d7d756e30680bcff036118b47ac45b740e020ea2.tar.bz2
lanes-d7d756e30680bcff036118b47ac45b740e020ea2.zip
Preparation for lane:close() and correct to-be-closed variables
* lane:join() can no longer be used to read yielded values * same with lane indexing * stub for lane:close(), similar to coroutine.close() (not implemented yet) * preparing tests for to-be-closed variables in yielded coroutine lanes * yielded lanes unlock and terminate properly at Lanes shutdown
Diffstat (limited to 'unit_tests/scripts/coro/error_handling.lua')
-rw-r--r--unit_tests/scripts/coro/error_handling.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/unit_tests/scripts/coro/error_handling.lua b/unit_tests/scripts/coro/error_handling.lua
index ba6cff6..1cfb8c8 100644
--- a/unit_tests/scripts/coro/error_handling.lua
+++ b/unit_tests/scripts/coro/error_handling.lua
@@ -38,15 +38,15 @@ local force_error_test = function(error_trace_level_)
38 utils.dump_error_stack(error_trace_level_, c) 38 utils.dump_error_stack(error_trace_level_, c)
39end 39end
40 40
41if false then 41if true then
42 force_error_test("minimal") 42 force_error_test("minimal")
43end 43end
44 44
45if false then 45if true then
46 force_error_test("basic") 46 force_error_test("basic")
47end 47end
48 48
49if false then 49if true then
50 force_error_test("extended") 50 force_error_test("extended")
51end 51end
52 52