release

abstract suspend fun release()(source)

Releases any resources held by the engine, such as native memory used by an ML backend or active coroutine jobs. This should be called when the container is being shut down.