mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
fix crash
This commit is contained in:
committed by
Alex Kh
parent
8aa61bf5bc
commit
d618af19d6
@@ -149,9 +149,7 @@ void IOSVpnProtocol::stop()
|
|||||||
|
|
||||||
[m_controller disconnect];
|
[m_controller disconnect];
|
||||||
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
|
||||||
emit connectionStateChanged(Disconnected);
|
emit connectionStateChanged(Disconnected);
|
||||||
});
|
|
||||||
|
|
||||||
[m_controller dealloc];
|
[m_controller dealloc];
|
||||||
m_controller = nullptr;
|
m_controller = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user