I just messed around with Fiber class and unexpectedly produced a "Double Resume" error.
Is anyone know why this could happen? And can you give me the false example of the code?
Does it give you a line number? Do you have a block of code surrounding that line? It's a bit hard to know what's going on without more details (at least for me, as I pretty much leave Fibers alone)
It's in a huge module. I just put a few line that linked to other process and the error happened (and of course if I erase those few lines, the error is gone). All I want to know is an example of the false code. And why it could happen. So it will help me to track it down.
basically, you seem to have something that is resuming/running a single fiber twice (like resuming it when it's already running)
Issue found. Now, I think I'm gonna add tsukihime as one of my fave Ruby teacher lol.
This topic can be closed now
I have a line of code contains myobject.update
it's also updated its instance fiber.
Then, I have another method / process that also indirectly linked to myobject.update that called inside the resumed fiber.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.