brabo-hi
02/09/2022, 6:07 PMonStopped
since on CoroutineWorker
it is defined public final override fun onStopped() {}
louiscad
02/09/2022, 6:11 PMfinally
block. It's possible you don't even need that because the suspending functions you're using are already handling cancellation properly (with or without a try/finally block).