summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EIP.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
index 0713e521..7db35c17 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
@@ -195,6 +195,7 @@ public final class EIP extends IntentService {
private void deleteAllVpnProfiles() {
Collection<VpnProfile> profiles = profile_manager.getProfiles();
profiles.removeAll(profiles);
+ gateways.clear();
}
/**