Fiber don't start

Options
PoolFiber executionFiber = new PoolFiber();
executionFiber.Stop();
executionFiber.Start();
disposeTimer = executionFiber.ScheduleOnInterval(() => Prepare(), 0, 1000);

If I put Stop before Start, the Prepare function would never execute. Why does that happen?

Comments

  • chvetsov
    Options
    @shaorouge that is definitely a bug.
    Do not call it this way. If you need restart fiber, try to recreate it

    best,
    ilya