Add delay for Linux wakeup reconnect
This commit is contained in:
parent
5ef8254cba
commit
62d9bcaf7f
1 changed files with 3 additions and 0 deletions
|
@ -289,6 +289,9 @@ void VpnConnection::connectToVpn(int serverIndex, const ServerCredentials &crede
|
|||
void VpnConnection::restartConnection()
|
||||
{
|
||||
this->disconnectFromVpn();
|
||||
#ifdef (Q_OS_LINUX)
|
||||
QThread::msleep(5000);
|
||||
#endif
|
||||
this->connectToVpn(m_serverIndex, m_serverCredentials, m_dockerContainer, m_vpnConfiguration);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue