does anyone know how to circumvent this?
Not expert with coroutines but coroutine:Stop()
(?) with coroutine:Close()
(?) should work
You either need to put the coroutine in a suspended state (call coroutine.yield) or check the state of the coroutine is suspended (if coroutine.status(thread) == 'suspended' then coroutine.close(thread)
)
2 Likes