close

abstract override fun close()(source)

Closes this coroutine dispatcher and shuts down its executor.

It may throw an exception if this dispatcher is global and cannot be closed.