Skip to content

Commit

Permalink
Merge pull request #1 from kun-codes/dev
Browse files Browse the repository at this point in the history
fix(mac_proxy.py): fix `no_proxy` and `NO_PROXY` env vars not being cleared after deleting proxy
  • Loading branch information
kun-codes authored Nov 3, 2024
2 parents 043fccd + ba01057 commit 66d31c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uniproxy/mac_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def del_proxy(self):

shell_env_var = ShellEnvVar(self.ip_address, self.port, self.get_bypass_domains())
shell_env_var.unset_proxy_env_var()
shell_env_var.unset_bypass_domains_env_var()
except subprocess.CalledProcessError:
raise RuntimeError(f"failed to delete proxy services for {network_service}")

Expand Down

0 comments on commit 66d31c0

Please sign in to comment.