onStopped

open suspend fun onStopped()(source)

Ends the session after delivery and owned work have stopped, before ownership release. Called once for each invocation of onStarted, even if it fails or is cancelled; cleanup runs in a non-cancellable context.