zenith391 / OCEmu

OpenComputers Emulator in Lua
53 stars 22 forks source link

Normal component calls can cause 'too long without yielding' error #30

Open kcinnaJlol opened 2 years ago

kcinnaJlol commented 2 years ago

Calling a normal component function (see the docs under 'Direct Calls') should yield for a tick, yet they don't. This means that when repeatedly calling a normal component function and not yielding via computer.pullsignal results in the program crashing with a too long without yielding error.

kcinnaJlol commented 2 years ago

It appears that after some testing this issue only happens on 'fast' mode. (So in the config fast = true)