mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Tried to get rid of crashes on sequential vpn turn on/off
This commit is contained in:
@@ -82,6 +82,9 @@ ErrorCode IOSVpnProtocol::start()
|
||||
|
||||
QString protocol = result["protocol"].toString();
|
||||
|
||||
if (!m_controller)
|
||||
initialize();
|
||||
|
||||
switch (m_protocol) {
|
||||
case amnezia::Proto::OpenVpn:
|
||||
if (currentProto != m_protocol) {
|
||||
|
||||
Reference in New Issue
Block a user