this object will be deleted at app close

This commit is contained in:
Mykola Baibuz
2025-08-22 17:00:21 +03:00
parent 2ac62027e8
commit f0b3c16880

View File

@@ -53,7 +53,6 @@ AmneziaApplication::~AmneziaApplication()
{
if (m_vpnConnection) {
QMetaObject::invokeMethod(m_vpnConnection.get(), "disconnectFromVpn", Qt::QueuedConnection);
QMetaObject::invokeMethod(m_vpnConnection.get(), "deleteLater", Qt::QueuedConnection);
}
m_vpnConnectionThread.quit();