close

abstract fun close(): Unit (source)

Platform and version requirements: JVM

Closes this coroutine dispatcher and shuts down its executor.

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