groostav
06/22/2017, 7:20 AMchannel.recieve()
call when the channel
drops out of scope, the whole coroutine will simply never be resumed and its memory will be reclaimed
2. I presume that if you convert a particular ExecutorService
to a coroutine dispatcher, and then call executorService.shutdown()
it will simply mean nobody can get rescheduled with it, in effect causing all of the coroutines dispatched with it to become abandoned => GC'd