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:
parent
37d44af65a
commit
7b9d3039ec
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue