call stopV2ray on onDestroy
This commit is contained in:
@@ -79,7 +79,7 @@ class V2RayVpnService : VpnService(), ServiceControl {
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
V2RayServiceManager.cancelNotification()
|
||||
stopV2Ray()
|
||||
}
|
||||
|
||||
private fun setup(parameters: String) {
|
||||
|
||||
Reference in New Issue
Block a user