1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-26 09:48:46 +00:00

Save some memory when not started

This commit is contained in:
M66B 2016-02-17 13:24:36 +01:00
parent 37d44af65a
commit 7b9d3039ec

View file

@ -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() {