|
@@ -62,7 +62,7 @@ class GuardedProcessPool(private val onFatal: suspend (IOException) -> Unit) : C
|
|
|
|
|
|
@DelicateCoroutinesApi
|
|
@DelicateCoroutinesApi
|
|
suspend fun looper(onRestartCallback: (suspend () -> Unit)?) {
|
|
suspend fun looper(onRestartCallback: (suspend () -> Unit)?) {
|
|
- var running = false
|
|
|
|
|
|
+ var running = true
|
|
val cmdName = File(cmd.first()).nameWithoutExtension
|
|
val cmdName = File(cmd.first()).nameWithoutExtension
|
|
val exitChannel = Channel<Int>()
|
|
val exitChannel = Channel<Int>()
|
|
try {
|
|
try {
|