mirror of
https://github.com/janet-lang/janet
synced 2025-10-24 12:17:41 +00:00
Work on addressing #1337 - fix valgrind case.
This commit is contained in:
@@ -366,4 +366,10 @@
|
||||
(exec-slurp ;run janet "-e" "(print :hi)")))
|
||||
"exec-slurp 1"))
|
||||
|
||||
# valgrind-able check for #1337
|
||||
(def superv (ev/chan 10))
|
||||
(def f (ev/go |(ev/sleep 1e9) nil superv))
|
||||
(ev/cancel f (gensym))
|
||||
(ev/take superv)
|
||||
|
||||
(end-suite)
|
||||
|
||||
Reference in New Issue
Block a user