fix: prevent redundant starts

closes #994
This commit is contained in:
Zane Schepke
2025-10-16 11:14:42 -04:00
parent a2139fa2fc
commit 9c0a4f117a
@@ -237,6 +237,7 @@ constructor(
}
override suspend fun startTunnel(tunnelConfig: TunnelConfig) {
if (activeTunnels.value.containsKey(tunnelConfig.id)) return
val provider = tunnelProviderFlow.value
val isKernel = provider is KernelTunnel