If I cancel a coroutine, it dies and frees all its...
# coroutines
c
If I cancel a coroutine, it dies and frees all its memory, right? So a valid "clear the cache" mechanism would be to have a coroutine that handles the cache, and when we want to clear it, to kill the scope in which that coroutine runs, and to start another one?
d
Yeah, pretty much.
d
Assuming it and it alone has a reference to its cache, yes