Wraps client lifetime into a supervisor

- define needed supervisor context/variables
- will use runCancel as knob to know if the client is running. No extra boolean flags
- runWaiter is used to signal to the async run caller
This commit is contained in:
riccardom
2026-06-16 18:31:46 +02:00
parent ec6512d660
commit 0503a18644
3 changed files with 229 additions and 9 deletions
+1 -1
View File
@@ -28,5 +28,5 @@ func (c *ConnectClient) runOnAndroidEmbed(
HostDNSAddresses: dnsAddresses,
DnsReadyListener: dnsReadyListener,
}
return c.run(mobileDependency, runningChan, logPath)
return c.sup.start(mobileDependency, runningChan, logPath)
}