Skip to content

Commit

Permalink
fix(vpn): Reset monitor in case of socket error
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectSlayer committed May 28, 2024
1 parent c657b49 commit 6e871a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ void monitor() {
}
} catch (SocketException e) {
Timber.w(e, "Failed to test VPN network interface %s. Starting VPN service…", this.networkInterface.getName());
reset();
VpnServiceControls.start(this.context);
}
}
Expand Down

0 comments on commit 6e871a9

Please sign in to comment.