go-ios
go-ios copied to clipboard
fix: quit runwda when wda dies
With this changes ios runwda will exit with error when WDA app dies (e.g. killed with ios kill, killed manually with AppSwitcher, or when iPhone is turned off).
dtxConnection's BreakdownCallback is implemented with Functionals Options Pattern, so it's fully optional and shouldn't affect any other dtxConnection usages.
I rebased it into main to resolve merge conflicts. Now it's up to date