[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [orbot/master] when you exit, make sure you also stop the VPN
commit bb3640a51891e0285a358fddcc2e3b7de1527ae1
Author: n8fr8 <nathan@xxxxxxxxxxxxxxxxxxxx>
Date: Mon Dec 9 15:44:56 2019 -0500
when you exit, make sure you also stop the VPN
---
app/src/main/java/org/torproject/android/OrbotMainActivity.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/src/main/java/org/torproject/android/OrbotMainActivity.java b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
index 64f1ee42..9ca9f28f 100644
--- a/app/src/main/java/org/torproject/android/OrbotMainActivity.java
+++ b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
@@ -568,6 +568,8 @@ public class OrbotMainActivity extends AppCompatActivity
private void doExit() {
stopTor();
+ TorVpnService.stop(this);
+
// Kill all the wizard activities
setResult(RESULT_CLOSE_ALL);
finish();
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits