mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Send: clean after Benoits review
This commit is contained in:
parent
3c7a108940
commit
7936c2c6f8
@ -118,7 +118,7 @@ internal class EventSenderProcessorCoroutine @Inject constructor(
|
||||
executeTask(task)
|
||||
}.toCancelable()
|
||||
.also {
|
||||
cancelableBag[task.taskIdentifier]
|
||||
cancelableBag[task.taskIdentifier] = it
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user