Skip to content

Commit

Permalink
Fixed an issue when VPN can't be stopped after switching to proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
krlvm committed Dec 16, 2021
1 parent fe4a520 commit cd0b9e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static void stopTunnel(Context context) {
Log.w(LOG_TAG, "Attempted to stop service when it is not running");
return;
}
PowerTunnelService.disconnect(context, getTunnelMode(context).getServiceClass());
PowerTunnelService.disconnect(context, mode.getServiceClass());
}

public static TunnelMode getTunnelMode(Context context) {
Expand Down

0 comments on commit cd0b9e9

Please sign in to comment.