ResourcesNotReleased

data class ResourcesNotReleased(val detail: String) : PlaybackWarning

Tearing a session down did not release everything cleanly.

Teardown runs every close in its own runCatching so that one failure cannot strand the resources after it, which is right. What was wrong is that the failures then vanished: a decoder or device that refused to close left no trace anywhere, and the next open met a machine in a state nothing had reported. The session is gone either way, which is why this is a warning and not a failure, but it is now a warning that exists.

Constructors

Link copied to clipboard
constructor(detail: String)

Properties

Link copied to clipboard
Link copied to clipboard
open val fields: Map<String, String>

The warning as key and value pairs, for a structured log sink.

Link copied to clipboard
open override val message: String

Functions

Link copied to clipboard
override fun toString(): String

The type and the message, with every URI cut to its file name, as for PlaybackError.