mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Add unbinding and destroying vpn service after disconnection
This commit is contained in:
@@ -64,6 +64,7 @@ class AmneziaActivity : QtActivity() {
|
|||||||
|
|
||||||
ServiceEvent.DISCONNECTED -> {
|
ServiceEvent.DISCONNECTED -> {
|
||||||
QtAndroidController.onVpnDisconnected()
|
QtAndroidController.onVpnDisconnected()
|
||||||
|
doUnbindService()
|
||||||
}
|
}
|
||||||
|
|
||||||
ServiceEvent.RECONNECTING -> {
|
ServiceEvent.RECONNECTING -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user