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
After giving a look to the source code, it seems that start and stop depend on SignalCycle::signal version of in_process. And SignalCycle::signal doesn't track value returned by Signal::cyclic (which is also the value returned by the function passed into Signal::cyclic) as it's dependency, so when that value dropped, SignalCycle::signal (as well as start and stop) doesn't get any updates.
It has been a while since I touched this code, so I definitely need some time to get back into it. Anyway, a fix with a regression test case and PR would be appreciated.
If a cyclic signal goes out of scope, other nodes (that are implemented in terms of the cyclic signal) don't behave as expected.
Here is an example that works as expected:
But if we limit lifetime of the cyclic signal, the test breaks on the second assertion:
By the way, great library - ergonomics are really nice :)
The text was updated successfully, but these errors were encountered: