Save some memory when not started

This commit is contained in:
M66B 2016-02-17 13:24:36 +01:00
parent 37d44af65a
commit 7b9d3039ec
1 changed files with 1 additions and 0 deletions

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