From 7e479f9f0a565be24996d14c41ecab0482f17b0b Mon Sep 17 00:00:00 2001 From: mihacooper Date: Fri, 15 Sep 2017 14:23:29 +0300 Subject: [PATCH] Fix bug in thread.returns test (#70) --- tests/lua/thread.lua | 3 +++ 1 file changed, 3 insertions(+) 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 ()