mirror of
https://github.com/janet-lang/janet
synced 2026-04-12 18:01:27 +00:00
Channel operations inside a janet_call could wreak more havoc later, when scheduled fibers are shooting off when they shouldn't be. The easiest way to prevent this is simply check that we are not inside janet_call before doing channel operations. We also get nicer error messages this way.