I use A LOT of coroutines in my project and I’ve been noticing that the game slowly gets more and more laggy seemingly due to a memory leak. I’ve looked a lot and I cant find anything that could be causing it. Just a simple question, do I need to use coroutine.close() after every single coroutine or will it be dead after it finishes?
According to the post @earthyviking92 linked, it does not and it collects overtime and cause memory issues when you have a lot of them so I’ll just have to kill them every time I use one. I’ll do some testing before I draw any conclusions though.