This commit is contained in:
Benoit Marty 2021-04-19 16:11:42 +02:00
parent dc69d5c68a
commit e5d0a8f3d8
3 changed files with 1 additions and 6 deletions

View File

@ -279,5 +279,5 @@ interface Session :
* Launch a coroutine using the session scope
*/
fun launch(context: CoroutineContext = EmptyCoroutineContext,
block: suspend () -> Unit )
block: suspend () -> Unit)
}

View File

@ -19,10 +19,6 @@ package org.matrix.android.sdk.internal.session
import androidx.annotation.MainThread
import dagger.Lazy
import io.realm.RealmConfiguration
import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.cancelChildren
import kotlinx.coroutines.launch
import okhttp3.OkHttpClient
import org.matrix.android.sdk.api.auth.data.SessionParams

View File

@ -29,7 +29,6 @@ import im.vector.app.core.extensions.vectorComponent
import im.vector.app.core.files.LocalFilesHelper
import im.vector.app.features.media.ImageContentRenderer
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import okhttp3.OkHttpClient