mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
Don't terminate VPN thread on Linux
This commit is contained in:
@@ -58,8 +58,10 @@ AmneziaApplication::~AmneziaApplication()
|
||||
m_vpnConnectionThread.quit();
|
||||
|
||||
if (!m_vpnConnectionThread.wait(3000)) {
|
||||
#ifndef Q_OS_LINUX
|
||||
m_vpnConnectionThread.terminate();
|
||||
m_vpnConnectionThread.wait(500);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (m_engine) {
|
||||
|
||||
Reference in New Issue
Block a user