[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [orbot/master] add code to kill pdnsd daemon when VPN is stopped
commit f36965211e8f319bacb86ed3277388d66eedc6e0
Author: Nathan Freitas <nathan@xxxxxxxxxxx>
Date: Mon Jan 4 02:28:31 2016 -0500
add code to kill pdnsd daemon when VPN is stopped
---
src/org/torproject/android/vpn/OrbotVpnService.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/org/torproject/android/vpn/OrbotVpnService.java b/src/org/torproject/android/vpn/OrbotVpnService.java
index 6485423..a8d3b70 100644
--- a/src/org/torproject/android/vpn/OrbotVpnService.java
+++ b/src/org/torproject/android/vpn/OrbotVpnService.java
@@ -218,6 +218,12 @@ public class OrbotVpnService extends VpnService implements Handler.Callback {
Tun2Socks.Stop();
+ try {
+ TorServiceUtils.killProcess(OrbotApp.filePdnsd);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
mThreadVPN = null;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits