A variant of that:

coroutine X coroutine Y info frame 0

demonstrates that the proposed fix is
not enough to solve the problem.