From 5a4dec3dc5f8d2443c5670bf85fbd5e61d102cfd Mon Sep 17 00:00:00 2001 From: Mykola Baibuz Date: Wed, 23 Aug 2023 17:16:40 -0400 Subject: [PATCH 1/2] Fix stop button for Android --- client/vpnconnection.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/vpnconnection.cpp b/client/vpnconnection.cpp index 96c7b6fb..9f56ad97 100644 --- a/client/vpnconnection.cpp +++ b/client/vpnconnection.cpp @@ -411,11 +411,12 @@ void VpnConnection::disconnectFromVpn() } #endif +#ifdef Q_OS_ANDROID + AndroidController::instance()->stop(); +#endif + if (!m_vpnProtocol.data()) { emit connectionStateChanged(VpnProtocol::Disconnected); -#ifdef Q_OS_ANDROID - AndroidController::instance()->stop(); -#endif return; } From b6d020e20201de3381d13364e016904bd88f5fd3 Mon Sep 17 00:00:00 2001 From: Mykola Baibuz Date: Wed, 23 Aug 2023 21:14:36 -0400 Subject: [PATCH 2/2] Update prebuilt (fix freezed connection after vpn over cloak android) --- client/3rd-prebuilt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/3rd-prebuilt b/client/3rd-prebuilt index 9a3cf57a..75ab7e24 160000 --- a/client/3rd-prebuilt +++ b/client/3rd-prebuilt @@ -1 +1 @@ -Subproject commit 9a3cf57a1166c634d43e75f00ff6072938aea5cb +Subproject commit 75ab7e2418b83af7f8ed0a448ec5081b37b54442