Commit Graph

1 Commits

Author SHA1 Message Date
Bob Nystrom
04cb19c605 fix: close upvalues before fiber completion and add closure tests
Move upvalue closing logic from the else branch to before the fiber completion check
to ensure upvalues are properly closed when a fiber finishes. Add test cases for
closure behavior across fiber yields and for Fiber.create argument type validation.
2014-02-14 15:16:56 +00:00