add code to kill pdnsd daemon when VPN is stopped
This commit is contained in:
parent
f441736cd9
commit
f36965211e
|
@ -218,6 +218,12 @@ public class OrbotVpnService extends VpnService implements Handler.Callback {
|
||||||
|
|
||||||
Tun2Socks.Stop();
|
Tun2Socks.Stop();
|
||||||
|
|
||||||
|
try {
|
||||||
|
TorServiceUtils.killProcess(OrbotApp.filePdnsd);
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
mThreadVPN = null;
|
mThreadVPN = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue