Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object Conf {
/**
* The version number for all artifacts in this project.
*/
const val VERSION = "3.4.0"
const val VERSION = "3.4.1"
}

group = Conf.GROUP
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import net.kigawa.hakate.api.state.StateDispatcher
import net.kigawa.hakate.impl.Utl.suspendApply
import net.kigawa.hakate.impl.dispatcher.StateDispatcherImpl
import kotlin.coroutines.CoroutineContext
import kotlin.coroutines.EmptyCoroutineContext

/**
* Standard implementation of the [StateContext] interface.
Expand Down Expand Up @@ -49,8 +48,10 @@ class StateContextImpl(
block: suspend StateContext.() -> Unit,
): Job {
return launch {
StateContextImpl(dispatcher, this@launch).suspendApply {
block()
supervisorScope {
StateContextImpl(dispatcher, this@launch).suspendApply {
block()
}
}
}
}
Expand Down