mirror of https://github.com/M66B/NetGuard.git
Save some memory when not started
This commit is contained in:
parent
37d44af65a
commit
7b9d3039ec
|
@ -958,6 +958,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
|
|||
private void stopNative(ParcelFileDescriptor vpn, boolean clear) {
|
||||
Log.i(TAG, "Stop native clear=" + clear);
|
||||
jni_stop(vpn.getFd(), clear);
|
||||
unprepare();
|
||||
}
|
||||
|
||||
private void unprepare() {
|
||||
|
|
Loading…
Reference in New Issue