From a57690123ae3ce5bdd7e970690f1380e88e4eaf6 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 17 Mar 2025 12:34:08 +0100 Subject: Raise a regular Lua error instead of throwing a C++ std::logic_error exception in Universe::UniverseGC --- CHANGES | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 713249c..7cf28b2 100644 --- a/CHANGES +++ b/CHANGES @@ -14,8 +14,8 @@ CHANGE 2: BGe 27-Nov-24 - lanes.sleep() accepts a new argument "indefinitely" to block forever (until hard cancellation is received). - function set_debug_threadname() available inside a Lane is renamed lane_threadname(); can now both read and write the name. - new function lanes.finally(). Installs a function that gets called at Lanes shutdown after attempting to terminate all lanes. + If some lanes still run after the finalizer, Universe::__gc with raise an error or freeze, depending on its return value. - new function lanes.collectgarbage(), to force a full GC cycle in the keeper states. - If some lanes still run after the finalizer, Lanes with throw an exception or freeze, depending on its return value. - Configuration settings: - Boolean parameters only accept boolean values. - allocator provider function is called with a string hint to distinguish internal allocations, lane and keeper states. -- cgit v1.2.3-55-g6feb