diff --git a/core/src/main/kotlin/com/bridge/ouroboros/compose/ExecutableEffect.kt b/core/src/main/kotlin/com/bridge/ouroboros/compose/ExecutableEffect.kt index 3bdc019..a5ab319 100644 --- a/core/src/main/kotlin/com/bridge/ouroboros/compose/ExecutableEffect.kt +++ b/core/src/main/kotlin/com/bridge/ouroboros/compose/ExecutableEffect.kt @@ -3,7 +3,6 @@ package com.bridge.ouroboros.compose import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.launch import kotlin.coroutines.CoroutineContext abstract class ExecutableEffect : CoroutineScope { @@ -31,7 +30,7 @@ abstract class ExecutableEffect : CoroutineScope { companion object { @Volatile - private var defaultDispatcher: CoroutineDispatcher = Dispatchers.Default + private var defaultDispatcher: CoroutineDispatcher = Dispatchers.Unconfined fun setDefaultDispatcher(dispatcher: CoroutineDispatcher) { defaultDispatcher = dispatcher