call stopV2ray on onDestroy

This commit is contained in:
Rurirei
2020-10-21 15:14:44 +08:00
committed by GitHub
parent 030b9a3900
commit 4602afc67e

View File

@@ -79,7 +79,7 @@ class V2RayVpnService : VpnService(), ServiceControl {
override fun onDestroy() {
super.onDestroy()
V2RayServiceManager.cancelNotification()
stopV2Ray()
}
private fun setup(parameters: String) {