I upgraded to WorkManager 2.1.0 and tried to use some of the Kotlin extensions including CoroutineWorker
. My worker was extending androidx.work.Worker
previously and it was executing cleanup code by overriding onStopped
. Why is onStopped
final in CoroutineWorker
? Is there any other way for me to execute cleanup code after the CoroutineWorker
is stopped?
According to this blog post, is this supposed to be a feature?