Fix bug in thread.returns test (#70)

This commit is contained in:
mihacooper 2017-09-15 14:23:29 +03:00 committed by GitHub
parent 641d111c23
commit 7e479f9f0a

View File

@ -213,6 +213,9 @@ test.thread.returns = function ()
test.is_function(returns[5]) test.is_function(returns[5])
test.equal(returns[5](11, 89), 100) test.equal(returns[5](11, 89), 100)
-- Workaround to get child thread free all return values
effil.sleep(2)
end end
test.thread.timed_cancel = function () test.thread.timed_cancel = function ()