To yield every frame you have to call yield inside the loop not after the loop is finished
yield only yields the current coroutine not another one (which wouldn't be possible given the lua interpreter in wow is single threaded, which you can be thankful for otherwise we'd have locking issues)
|