BUG/MEDIUM: lua: undetected infinite loop

If the Lua code causes an infinite loop without yield possible, the
clock is not updated. This patch check the clock when the Lua control
code cannot yield.
1 file changed