Fix coroutine.wrap() error propogation.
This commit is contained in:
@@ -5,7 +5,7 @@ function printrunning()
|
||||
print("running is not nil")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
function foo (a)
|
||||
print("foo", a)
|
||||
return coroutine.yield(2*a)
|
||||
|
||||
Reference in New Issue
Block a user