From d7d756e30680bcff036118b47ac45b740e020ea2 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 26 Jun 2025 09:18:54 +0200 Subject: 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 --- unit_tests/scripts/coro/error_handling.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unit_tests/scripts/coro/error_handling.lua') 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_) utils.dump_error_stack(error_trace_level_, c) end -if false then +if true then force_error_test("minimal") end -if false then +if true then force_error_test("basic") end -if false then +if true then force_error_test("extended") end -- cgit v1.2.3-55-g6feb