A rootless Android app that boots Alpine Linux: run containers (Podman/Docker/LXC) and GUI desktop apps.
fix(engine): read the current backend once when starting the VM
ExTv7081b375ce5d
diff --git a/app/src/main/java/com/excp/podroid/engine/EngineHolder.kt b/app/src/main/java/com/excp/podroid/engine/EngineHolder.ktindex ae6fc53..e7a9f0b 100644--- a/app/src/main/java/com/excp/podroid/engine/EngineHolder.kt+++ b/app/src/main/java/com/excp/podroid/engine/EngineHolder.kt@@ -409,10 +409,13 @@ class EngineHolder @Inject constructor(}publishFirstPick(picked)// Capture the launch set for the diff loop's →Running seeding, and mark- // this engine started so its state passes through un-normalized.+ // this engine started so its state passes through un-normalized. Read+ // `current` once: a concurrent swap between the two reads would mark+ // one engine started while starting the other.launchRules = portForwards.toSet()- startedEngine = current- current.start(portForwards, config)+ val eng = current+ startedEngine = eng+ eng.start(portForwards, config)}override fun stop() = current.stop()override fun createTerminalSession(client: TerminalSessionClient) =