close

open override fun close()

Asks the worker to close the player and end, and returns at once. The worker ends when the player has closed. closeAndAwait waits for that.