You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In production code, when ev/select is called again, It even runs defer forms after they are run once...... They shouldn't be run again.... Because of this issue, I eliminated channel/from-each and ev/select in my production code.
Hard to say for certain yet (I'm looking into this) but I think the issue is with channel/from-each looking for specific errors and then calling propagate.
So on latest master, this seems to work as expected (as I expected). I wrapped every call to ev/go and ev/spawn with tracev so we can see which fibers are created, and then added this bit of code to monitor which fibers are active:
In production code, when
ev/select
is called again, It even runsdefer
forms after they are run once...... They shouldn't be run again.... Because of this issue, I eliminatedchannel/from-each
andev/select
in my production code.This is my minimal example.
Output is
I noticed that the iterable task of
channel/from-each
was not really cancelled becauseev/select
didn't return a value inchannel/from-each
.The text was updated successfully, but these errors were encountered: