Files
firezone/swift
Jamil 42de3ad144 fix(apple): save networkSettings var (#10022)
In 45466e3b78, the `networkSettings`
variable was no longer saved on the `adapter` instance, causing all
calls of the iOS-specific version of getting system resolvers to return
the connlib sentinels after the tunnel first came up.

This PR fixes that logic bug and also cleans this area of the codebase
up just a tiny bit so it's easier to follow.

Lastly, we also fix a bug where if the tunnel came up while Firezone was
already running, `networkSettings` would be `nil`, and we would read the
default system resolvers, which were the connlib sentinels.


Fixes https://github.com/firezone/firezone/issues/10017
2025-07-27 22:42:43 +00:00
..