Destructor crash fix

This commit is contained in:
pokamest 2021-12-20 15:43:36 +03:00
parent 5776ca0384
commit 5ae9873455
2 changed files with 6 additions and 6 deletions

View file

@ -123,9 +123,9 @@ UiLogic::~UiLogic()
}
}
m_vpnConnection->deleteLater();
m_vpnConnectionThread.quit();
m_vpnConnectionThread.wait(3000);
delete m_vpnConnection;
qDebug() << "Application closed";
}