diff --git a/tests/lua/thread.lua b/tests/lua/thread.lua index b6ca537..61c08b6 100644 --- a/tests/lua/thread.lua +++ b/tests/lua/thread.lua @@ -213,6 +213,9 @@ test.thread.returns = function () test.is_function(returns[5]) test.equal(returns[5](11, 89), 100) + + -- Workaround to get child thread free all return values + effil.sleep(2) end test.thread.timed_cancel = function ()