1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-09 02:09:54 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
Christopher Chambers
57c954783d Fix resumption values when closing a channel.
When suspended in `ev/give` or `ev/take`, closing the channel should
cause the result of `ev/give` or `ev/take` to be `nil`.

When suspended in `ev/select`, closing the channel should cause the
result of `ev/select` to be `[:close ch]`.

The results were flipped before.
2023-06-07 15:01:56 -04:00
Christopher Chambers
53447e9d0b Ensure ev/gather fibers are fully canceled on error. 2023-06-04 10:49:30 -04:00
sogaiu
9675411f35 Reorganize tests 2023-06-02 07:04:07 +09:00