Update rust sdk to 0.1.42 (changes in tracing and sync apis) (#1055)

* Update rust sdk to 0.1.42 (changes in tracing and sync apis)

* Fix sample compilation

---------

Co-authored-by: ganfra <francoisg@element.io>
This commit is contained in:
ganfra 2023-08-11 23:32:31 +02:00 committed by GitHub
parent a04cb2963c
commit c15483828d
10 changed files with 42 additions and 19 deletions

View file

@ -141,7 +141,9 @@ class LoggedInFlowNode @AssistedInject constructor(
},
onStop = {
//Counterpart startSync is done in observeSyncStateAndNetworkStatus method.
syncService.stopSync()
coroutineScope.launch {
syncService.stopSync()
}
},
onDestroy = {
plugins<LifecycleCallback>().forEach { it.onFlowReleased(id, inputs.matrixClient) }