Send: clean after Benoits review

This commit is contained in:
ganfra 2021-03-09 20:23:06 +01:00
parent 3c7a108940
commit 7936c2c6f8
2 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,7 @@ internal class EventSenderProcessorCoroutine @Inject constructor(
executeTask(task)
}.toCancelable()
.also {
cancelableBag[task.taskIdentifier]
cancelableBag[task.taskIdentifier] = it
}
}

View File

@ -46,6 +46,7 @@ import kotlin.concurrent.schedule
*
* If the app is killed before all event were sent, on next wakeup the scheduled events will be re posted
*/
@Deprecated("You should know use EventSenderProcessorCoroutine instead")
@SessionScope
internal class EventSenderProcessorThread @Inject constructor(
private val cryptoService: CryptoService,